Generate sitemap from struts configuration

2006-03-02 Thread Mirko Sertic
Hi all !

I'm searching for a way to generate a visual sitemap ( .gif, .jpg .png, 
whatever ) from my struts configuration
file. Is there any tool available that can help me and can be used in my ant 
build file for documentation ?
 
I've seen that there is a tool called StrutsDoc. It is capable to do such 
things ?

Thank you very much,

Mirko



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Can any one help me to use layout:date

2006-03-02 Thread thamizh arasu
Hi,

I am new to using struts-layout. I have some problem with that.

I successfully installed struts-layout.jar in WEB-INF/lib folder.

and copied config and images folder into the root folder.

In my jsp i have included only the following line.

that is,



once that jsp got focused i got error in console. i could not see the date 
picker. what are the other things i have to do.

please tell me the step.

by
Thamizharasu


-
 Yahoo! Mail
 Use Photomail to share photos without annoying attachments.

Re: [ANNOUNCE] Struts Central - When only Struts will Do

2006-03-02 Thread Lixin Chu
thanks Ted.

no problem, i just need to add one more bookmark entry.

On 3/2/06, Ted Husted <[EMAIL PROTECTED]> wrote:
>
> On 3/2/06, Lixin Chu <[EMAIL PROTECTED]> wrote:
> > why not consolidate all into one place ? Struts planet, struts central,
> > wiki, etc ?
>
> Planet Struts is powered by Roller, and there's been talk of setting
> up a Roller on an ASF hardware. I kept Planet Struts separate for now
> so that it would be easy to move, if the opportunity presents itself.
>
> The Roller Weblogger Project is a good example of integrating Roller
> with a wiki (JSPWiki).
>
> * http://rollerweblogger.org/page/project
>
> When I get a chance, I'd like to try them together myself. One cool
> thing about JSPWIki (there are many) is that it can support Subversion
> as a data source.
>
> * http://jspwiki.org/wiki/SubversionProvider
>
> But, for now, I wanted to capture the data and post a working
> prototype before making any other decisions.
>
> -Ted.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: Why global error handling doesn't work with struts?

2006-03-02 Thread Lixin Chu
to show your own error page in IE, you need to have error page size more
than 512 bytes.

On 3/3/06, Partha Pratim Dutta <[EMAIL PROTECTED]> wrote:
>
> Thanks George. It really works fine in Firefox. Why Microsoft is bent
> upon changing everything their way ?
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 02, 2006 8:33 PM
> To: user@struts.apache.org
> Subject: RE: Why global error handling doesn't work with struts?
>
> You'll have to ask Microsoft why it works that way.
>
> In the meantime, I would advise checking your site with Firefox so that
> you can see your custom 404 page.
>
> - George
>
> > -Original Message-
> > From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, March 02, 2006 3:41 AM
> > To: Struts Users Mailing List
> > Subject: RE: Why global error handling doesn't work with struts?
> >
> >
> > But then why is it behaving that way. It shouldn't. Isn't it?
> > I am using IE 6.0
> >
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 01, 2006 7:49 PM
> > To: user@struts.apache.org
> > Subject: RE: Why global error handling doesn't work with struts?
> >
> > What browser are you using?  Note that a custom 404 page is
> > still a 404 page, and Internet Explorer will insist on
> > showing you its own 404 page instead of the one sent by the server.
> >
> > > -Original Message-
> > > From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, February 28, 2006 11:39 PM
> > > To: Struts Users Mailing List
> > > Subject: Why global error handling doesn't work with struts?
> > >
> > >
> > > Hi All
> > >
> > > I am running Tomcat 4.x and have tried to set global error
> > > handling using the following entry in the web.xml file. But
> > > there is no redirection and I always end up with 404 page not
> > > found error in the browser. I am using struts 1.2 as the MVC
> > > framework for the application.
> > >
> > > One more strange thing that I have noticed is that although
> > > the error page doesn't show up but it prints the SOP
> > > statements on the console. That means that it is getting
> > > redirected to the error page but why is it not showing up then?
> > >
> > > Does anyone have a solution to this problem?
> > >
> > > 
> > > 404 /weberror.jsp
> > > 
> > >
> > >
> > > Thanks & Regards
> > >
> > > Partha
> > >
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


RE: Why global error handling doesn't work with struts?

2006-03-02 Thread Partha Pratim Dutta
Thanks George. It really works fine in Firefox. Why Microsoft is bent
upon changing everything their way ?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 02, 2006 8:33 PM
To: user@struts.apache.org
Subject: RE: Why global error handling doesn't work with struts?

You'll have to ask Microsoft why it works that way.

In the meantime, I would advise checking your site with Firefox so that
you can see your custom 404 page.

 - George

> -Original Message-
> From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 02, 2006 3:41 AM
> To: Struts Users Mailing List
> Subject: RE: Why global error handling doesn't work with struts?
> 
> 
> But then why is it behaving that way. It shouldn't. Isn't it? 
> I am using IE 6.0 
> 
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 01, 2006 7:49 PM
> To: user@struts.apache.org
> Subject: RE: Why global error handling doesn't work with struts?
> 
> What browser are you using?  Note that a custom 404 page is 
> still a 404 page, and Internet Explorer will insist on 
> showing you its own 404 page instead of the one sent by the server.
> 
> > -Original Message-
> > From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, February 28, 2006 11:39 PM
> > To: Struts Users Mailing List
> > Subject: Why global error handling doesn't work with struts?
> > 
> > 
> > Hi All
> > 
> > I am running Tomcat 4.x and have tried to set global error
> > handling using the following entry in the web.xml file. But 
> > there is no redirection and I always end up with 404 page not 
> > found error in the browser. I am using struts 1.2 as the MVC 
> > framework for the application.
> >  
> > One more strange thing that I have noticed is that although
> > the error page doesn't show up but it prints the SOP 
> > statements on the console. That means that it is getting 
> > redirected to the error page but why is it not showing up then?
> > 
> > Does anyone have a solution to this problem?
> > 
> > 
> > 404 /weberror.jsp
> > 
> > 
> > 
> > Thanks & Regards
> > 
> > Partha
> > 
> >  
> > 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Exporting an image from JSP to MS Word

2006-03-02 Thread Anjishnu Bandyopadhyay

Hi Dave,

Thanks a lot.
I will have a look at it.

With best regards,
Anjishnu.

-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Friday, March 03, 2006 3:19 AM
To: Struts Users Mailing List
Subject: Re: Exporting an image from JSP to MS Word

Anjishnu Bandyopadhyay wrote:
> But, it doesn't work in that way. Is there any other way?
>  

Yes; generate a Word document.

Simple calling a JSP a Word document doesn't make it one; a Word
document is a proprietary file format. You might want to look at Poi,
although I don't know if it will suit your needs or not.

http://jakarta.apache.org/poi/

Dave



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: multiple-step form processing

2006-03-02 Thread Chris Cheshire
Thank you for your help, I'll give all this a try :)

Chris

On 3/2/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> On 3/2/06, Chris Cheshire <[EMAIL PROTECTED]> wrote:
> > Thanks Michael, both of those are helpful.
> >
> > I have a few extra questions though:
> >
> > Regarding ActionDispatcher -
> > * The ParameterListActionDispatcher class isn't in the 1.2.8 struts
> > distribution that I downloaded, and is linked as a bugfix. Do I need
> > to download the entire struts source, add this in and recompile, or is
> > there an easier way?
>
> ParameterListActionDispatcher is a proposal for upcoming Struts
> release. The more people use it and find it useful, the more chances
> that it will be included. So, try it and vote for it if you like it:
> http://issues.apache.org/bugzilla/show_bug.cgi?id=38343 I hope you
> will like it, I think it is the best known solution for event dispatch
> in Struts.
>
> If you use Struts 1.2.7+, all you need is only
> ParameterListActionDispatcher class. Download it and compile it along
> with your project. If you use older Struts version than you will need
> base ActionDispatcher as well, but nothing more.
>
> > Regarding DataEntryForm -
> > * In sections 6 & 7 it describes a class
> > ParameterMappingDispatchAction that I also don't see in the
> > distribution (nor in the javadocs online). Is this referring to the
> > ParameterListActionDispatcher class or something else? Conceptually it
> > seems to be describing the same thing. If not is there an example of
> > what step 7 is describing?
>
> Right, I have to fix that. ParameterMappingDispatchAction was an
> initial patch, then Paul went with ParameterListActionDispatcher which
> is better because you can use any Action class, you do not have to
> derive your Action from some other dispatch class anymore. So
> disregard ParameterMappingDispatchAction, I will fix the wiki page
> later.
>
> > All that aside, when I turn off automatic validation, can I still call
> > the validation manually in my action code? ie. Something like :
> >
> > ActionErrors errors = form.validate(mapping, request);
> > if (!errors.isEmpty()) {
> > // determine which forward key to use based upon which step I am
> > in the process
> > forward = mapping.findForward(forwardKey);
> > saveErrors(request, errors);
> > return forward;
> > }
>
> Of course. This is exactly how you do it, perfect.
>
> > Is there anything else I need to do to validate the form manually?
>
> No. You may want to check errors for null, but it depends on how you
> implemented validate() method.
>
> Michael.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: multiple-step form processing

2006-03-02 Thread Michael Jouravlev
On 3/2/06, Chris Cheshire <[EMAIL PROTECTED]> wrote:
> Thanks Michael, both of those are helpful.
>
> I have a few extra questions though:
>
> Regarding ActionDispatcher -
> * The ParameterListActionDispatcher class isn't in the 1.2.8 struts
> distribution that I downloaded, and is linked as a bugfix. Do I need
> to download the entire struts source, add this in and recompile, or is
> there an easier way?

ParameterListActionDispatcher is a proposal for upcoming Struts
release. The more people use it and find it useful, the more chances
that it will be included. So, try it and vote for it if you like it:
http://issues.apache.org/bugzilla/show_bug.cgi?id=38343 I hope you
will like it, I think it is the best known solution for event dispatch
in Struts.

If you use Struts 1.2.7+, all you need is only
ParameterListActionDispatcher class. Download it and compile it along
with your project. If you use older Struts version than you will need
base ActionDispatcher as well, but nothing more.

> Regarding DataEntryForm -
> * In sections 6 & 7 it describes a class
> ParameterMappingDispatchAction that I also don't see in the
> distribution (nor in the javadocs online). Is this referring to the
> ParameterListActionDispatcher class or something else? Conceptually it
> seems to be describing the same thing. If not is there an example of
> what step 7 is describing?

Right, I have to fix that. ParameterMappingDispatchAction was an
initial patch, then Paul went with ParameterListActionDispatcher which
is better because you can use any Action class, you do not have to
derive your Action from some other dispatch class anymore. So
disregard ParameterMappingDispatchAction, I will fix the wiki page
later.

> All that aside, when I turn off automatic validation, can I still call
> the validation manually in my action code? ie. Something like :
>
> ActionErrors errors = form.validate(mapping, request);
> if (!errors.isEmpty()) {
> // determine which forward key to use based upon which step I am
> in the process
> forward = mapping.findForward(forwardKey);
> saveErrors(request, errors);
> return forward;
> }

Of course. This is exactly how you do it, perfect.

> Is there anything else I need to do to validate the form manually?

No. You may want to check errors for null, but it depends on how you
implemented validate() method.

Michael.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: multiple-step form processing

2006-03-02 Thread Chris Cheshire
Thanks Michael, both of those are helpful.

I have a few extra questions though:

Regarding ActionDispatcher -
* The ParameterListActionDispatcher class isn't in the 1.2.8 struts
distribution that I downloaded, and is linked as a bugfix. Do I need
to download the entire struts source, add this in and recompile, or is
there an easier way?

Regarding DataEntryForm -
* In sections 6 & 7 it describes a class
ParameterMappingDispatchAction that I also don't see in the
distribution (nor in the javadocs online). Is this referring to the
ParameterListActionDispatcher class or something else? Conceptually it
seems to be describing the same thing. If not is there an example of
what step 7 is describing?

All that aside, when I turn off automatic validation, can I still call
the validation manually in my action code? ie. Something like :

ActionErrors errors = form.validate(mapping, request);
if (!errors.isEmpty()) {
// determine which forward key to use based upon which step I am
in the process
forward = mapping.findForward(forwardKey);
saveErrors(request, errors);
return forward;
}

Is there anything else I need to do to validate the form manually?

Thanks

Chris


On 3/2/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> On 3/2/06, Chris Cheshire <[EMAIL PROTECTED]> wrote:
> > I want to set up a form that is entered over 3 successive pages.
> >
> > I have a single form bean for all of them that includes all of the
> > fields, and the validate method only validates the fields that were
> > implemented on each particular step.
> >
> > Step 2 will present 1 of 2 sub-forms, depending on an option selected
> > on the bottom of form 1 (ie, either enter credit card info, or bank
> > account info).
> >
> > I was thinking of using a DispatchAction to process each step and move
> > to the next part of the form sequence, but my problem is with
> > automatic validation and the struts-config declarations. I can only
> > declare one input per action, so if validation fails on any step the
> > controller would always redirect back to that specified input page  -
> > which might not be the one the user was on.
> >
> > Do I actually need to set up multiple actions each with their own
> > input and process the steps through there or is there a way I can do
> > this with a single DispatchAction?
> >
> > Or better yet, can I set validation to false in struts-config and then
> > call the validation routine myself inside the action and then forward
> > back to the correct input page if it fails?
>
> Do not use automatic validation, it prevents your action class from
> being called if validation fails. See these pages for a start:
> http://wiki.apache.org/struts/ActionDispatcher
> http://wiki.apache.org/struts/DataEntryForm
>
> Michael.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: multiple-step form processing

2006-03-02 Thread Michael Jouravlev
On 3/2/06, Chris Cheshire <[EMAIL PROTECTED]> wrote:
> I want to set up a form that is entered over 3 successive pages.
>
> I have a single form bean for all of them that includes all of the
> fields, and the validate method only validates the fields that were
> implemented on each particular step.
>
> Step 2 will present 1 of 2 sub-forms, depending on an option selected
> on the bottom of form 1 (ie, either enter credit card info, or bank
> account info).
>
> I was thinking of using a DispatchAction to process each step and move
> to the next part of the form sequence, but my problem is with
> automatic validation and the struts-config declarations. I can only
> declare one input per action, so if validation fails on any step the
> controller would always redirect back to that specified input page  -
> which might not be the one the user was on.
>
> Do I actually need to set up multiple actions each with their own
> input and process the steps through there or is there a way I can do
> this with a single DispatchAction?
>
> Or better yet, can I set validation to false in struts-config and then
> call the validation routine myself inside the action and then forward
> back to the correct input page if it fails?

Do not use automatic validation, it prevents your action class from
being called if validation fails. See these pages for a start:
http://wiki.apache.org/struts/ActionDispatcher
http://wiki.apache.org/struts/DataEntryForm

Michael.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



multiple-step form processing

2006-03-02 Thread Chris Cheshire
I want to set up a form that is entered over 3 successive pages.

I have a single form bean for all of them that includes all of the
fields, and the validate method only validates the fields that were
implemented on each particular step.

Step 2 will present 1 of 2 sub-forms, depending on an option selected
on the bottom of form 1 (ie, either enter credit card info, or bank
account info).

I was thinking of using a DispatchAction to process each step and move
to the next part of the form sequence, but my problem is with
automatic validation and the struts-config declarations. I can only
declare one input per action, so if validation fails on any step the
controller would always redirect back to that specified input page  -
which might not be the one the user was on.

Do I actually need to set up multiple actions each with their own
input and process the steps through there or is there a way I can do
this with a single DispatchAction?

Or better yet, can I set validation to false in struts-config and then
call the validation routine myself inside the action and then forward
back to the correct input page if it fails?

Thanks

Chris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



best practice suggestion when using tiles

2006-03-02 Thread brian papa
I'm using tiles in an application and so far have liked the modularity
and reusablity. I have a thin web layer with the business logic all
called from classes that extend the Tiles Controller, so that each
class is attached to a single tile.

I ran into a problem recently though where I wanted to change a
response header after conducting some business logic - problem though
was that this was in a controller, and the response had already been
submitted.

So now I'm second-guessing all of the business logic being called from
Controller classes. I use Struts Actions in my application as well,
but only thus far for things like form submission. Is this a poor
practice? Or should I move all of the business logic calls out from my
Controller classes and into Struts Actions?

Thanks for your input.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Exporting an image from JSP to MS Word

2006-03-02 Thread Dave Newton
Anjishnu Bandyopadhyay wrote:
> But, it doesn't work in that way. Is there any other way?
>   

Yes; generate a Word document.

Simple calling a JSP a Word document doesn't make it one; a Word
document is a proprietary file format. You might want to look at Poi,
although I don't know if it will suit your needs or not.

http://jakarta.apache.org/poi/

Dave



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Why global error handling doesn't work with struts?

2006-03-02 Thread George.Dinwiddie
In Internet Explorer, under Advanced Internet Options, uncheck "Show
friendly HTTP error messages."  You may have to log out of your computer
and back in for this to take affect.

> -Original Message-
> From: Dinwiddie, George 
> Sent: Thursday, March 02, 2006 10:03 AM
> To: user@struts.apache.org
> Subject: RE: Why global error handling doesn't work with struts?
> 
> 
> You'll have to ask Microsoft why it works that way.
> 
> In the meantime, I would advise checking your site with 
> Firefox so that you can see your custom 404 page.
> 
>  - George
> 
> > -Original Message-
> > From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, March 02, 2006 3:41 AM
> > To: Struts Users Mailing List
> > Subject: RE: Why global error handling doesn't work with struts?
> > 
> > 
> > But then why is it behaving that way. It shouldn't. Isn't it?
> > I am using IE 6.0 
> > 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, March 01, 2006 7:49 PM
> > To: user@struts.apache.org
> > Subject: RE: Why global error handling doesn't work with struts?
> > 
> > What browser are you using?  Note that a custom 404 page is
> > still a 404 page, and Internet Explorer will insist on 
> > showing you its own 404 page instead of the one sent by the server.
> > 
> > > -Original Message-
> > > From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, February 28, 2006 11:39 PM
> > > To: Struts Users Mailing List
> > > Subject: Why global error handling doesn't work with struts?
> > > 
> > > 
> > > Hi All
> > > 
> > > I am running Tomcat 4.x and have tried to set global 
> error handling 
> > > using the following entry in the web.xml file. But there is no 
> > > redirection and I always end up with 404 page not found 
> error in the 
> > > browser. I am using struts 1.2 as the MVC framework for the 
> > > application.
> > >  
> > > One more strange thing that I have noticed is that although the 
> > > error page doesn't show up but it prints the SOP 
> statements on the 
> > > console. That means that it is getting redirected to the 
> error page 
> > > but why is it not showing up then?
> > > 
> > > Does anyone have a solution to this problem?
> > > 
> > > 
> > > 404 /weberror.jsp
> > > 
> > > 
> > > 
> > > Thanks & Regards
> > > 
> > > Partha
> > > 
> > >  
> > > 
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [shale] clay generic templates and symbol replacement

2006-03-02 Thread Gary VanMatre
>From: "Ryan Wynn" <[EMAIL PROTECTED]> 
>
> 
> Thanks, Gary. The bindingType="Early" fixed it. I guess Clay was 
> looking for an extension and it was being done too late. 
>

I'll make that the default.  I don't think that a VB bindingType even works.  
I'll do a little refactoring here.  

 
> My whole generic templates question came from the error msg that was 
> reported from the clay message bundle. I thought it was telling me 
> that particular the way I had configured my templates was too much for 
> it to handle with symbols. But I guess I was wrong, so far Clay can 
> handle all I can throw at it :-) 

You are the one pushing the envelope. Your feedback makes the difference. 
Thanks for the help. 

Gary

Re: [shale] clay generic templates and symbol replacement

2006-03-02 Thread Gary VanMatre
>From: "Ryan Wynn" <[EMAIL PROTECTED]>  
> 
> One thing I did notice though was that Clay was interpreting some 
> components nested within in a html template. I removed the 
> whole comment block and the error went away. 

Darn, I thought we had the comment bug resolved.  I'll take another look at 
that one.  If you get a chance, could you create a bugzilla ticket on this one.

Gary

Re: [shale] clay generic templates and symbol replacement

2006-03-02 Thread Ryan Wynn
On 3/2/06, Ryan Wynn <[EMAIL PROTECTED]> wrote:
> On 3/2/06, Gary VanMatre <[EMAIL PROTECTED]> wrote:
> > >From: "Ryan Wynn" <[EMAIL PROTECTED]>
> > >
> > > I am getting the following exception and though I have looked at bug
> > > 37796 I still can't decide if what I am trying to do cannot be done
> > > with symbol replacement or if I have made a mistake.
> > >
> > > The Component jsfid attribute is null. The cause is most likely a
> > > missing "clayJsfid" attribute when using HTML templates and nesting
> > > a clay component. It is also likely that the problem was caused by using
> > > generic templates with symbol replacement of the
> > > [EMAIL PROTECTED]:
> > > java.lang.NullPointerException
> > >
> >
> > What's the rest of the NullPointerException?  Is there a custom message?  
> > What does the stack trace look like?
> >
> > > In my component that extends clay, clayJsfid is tied to a value
> > > binding expression [EMAIL PROTECTED] and in my .html file I
> > > specify the symbol managed-bean-name to be myBean.
> > >
> >
> >
> > I don't think that I've ever tried that.  I think the error has to do with 
> > the suffix of the jsfid or clayJsfid in this case.  The suffix is used to 
> > determine what handler should be used.  You might try " [EMAIL PROTECTED]".
> >
> > Or, You might try to early binding option on the "clayJsfid" attribute.
> >
> >   > componentType="org.apache.shale.clay.component.Clay"
> >allowBody="false">
> >
> >  
> >  
> >  
> >  
> >
> >  
> >
> > > What exactly constitutes a generic template?
> > >
> >
> > You should be able to answer that better than I can :-) .  All templates 
> > are generic.  You have 4 options 
> > (http://struts.apache.org/struts-shale/features-reusable-views.html).  What 
> > are you specifically looking for?
> >
> >
> > > Thanks,
> > > Ryan
> >
> > Gary
> >
>
> Thanks, Gary.  The bindingType="Early" fixed it.  I guess Clay was
> looking for an extension and it was being done too late.
>
> My whole generic templates question came from the error msg that was
> reported from the clay message bundle.  I thought it was telling me
> that particular the way I had configured my templates was too much for
> it to handle with symbols.  But I guess I was wrong, so far Clay can
> handle all I can throw at it :-)
>

One thing I did notice though was that Clay was interpreting some
components nested within  in a html template.  I removed the
whole comment block and the error went away.


Re: [shale] clay generic templates and symbol replacement

2006-03-02 Thread Ryan Wynn
On 3/2/06, Gary VanMatre <[EMAIL PROTECTED]> wrote:
> >From: "Ryan Wynn" <[EMAIL PROTECTED]>
> >
> > I am getting the following exception and though I have looked at bug
> > 37796 I still can't decide if what I am trying to do cannot be done
> > with symbol replacement or if I have made a mistake.
> >
> > The Component jsfid attribute is null. The cause is most likely a
> > missing "clayJsfid" attribute when using HTML templates and nesting
> > a clay component. It is also likely that the problem was caused by using
> > generic templates with symbol replacement of the
> > [EMAIL PROTECTED]:
> > java.lang.NullPointerException
> >
>
> What's the rest of the NullPointerException?  Is there a custom message?  
> What does the stack trace look like?
>
> > In my component that extends clay, clayJsfid is tied to a value
> > binding expression [EMAIL PROTECTED] and in my .html file I
> > specify the symbol managed-bean-name to be myBean.
> >
>
>
> I don't think that I've ever tried that.  I think the error has to do with 
> the suffix of the jsfid or clayJsfid in this case.  The suffix is used to 
> determine what handler should be used.  You might try " [EMAIL PROTECTED]".
>
> Or, You might try to early binding option on the "clayJsfid" attribute.
>
>  allowBody="false">
>
>  
>  
>  
>  
>
>  
>
> > What exactly constitutes a generic template?
> >
>
> You should be able to answer that better than I can :-) .  All templates are 
> generic.  You have 4 options 
> (http://struts.apache.org/struts-shale/features-reusable-views.html).  What 
> are you specifically looking for?
>
>
> > Thanks,
> > Ryan
>
> Gary
>

Thanks, Gary.  The bindingType="Early" fixed it.  I guess Clay was
looking for an extension and it was being done too late.

My whole generic templates question came from the error msg that was
reported from the clay message bundle.  I thought it was telling me
that particular the way I had configured my templates was too much for
it to handle with symbols.  But I guess I was wrong, so far Clay can
handle all I can throw at it :-)


Re: [shale] clay generic templates and symbol replacement

2006-03-02 Thread Gary VanMatre
>From: "Ryan Wynn" <[EMAIL PROTECTED]> 
>
> I am getting the following exception and though I have looked at bug 
> 37796 I still can't decide if what I am trying to do cannot be done 
> with symbol replacement or if I have made a mistake. 
> 
> The Component jsfid attribute is null. The cause is most likely a 
> missing "clayJsfid" attribute when using HTML templates and nesting 
> a clay component. It is also likely that the problem was caused by using 
> generic templates with symbol replacement of the 
> [EMAIL PROTECTED]: 
> java.lang.NullPointerException 
> 

What's the rest of the NullPointerException?  Is there a custom message?  What 
does the stack trace look like?

> In my component that extends clay, clayJsfid is tied to a value 
> binding expression [EMAIL PROTECTED] and in my .html file I 
> specify the symbol managed-bean-name to be myBean. 
> 


I don't think that I've ever tried that.  I think the error has to do with the 
suffix of the jsfid or clayJsfid in this case.  The suffix is used to determine 
what handler should be used.  You might try " [EMAIL PROTECTED]".

Or, You might try to early binding option on the "clayJsfid" attribute.

 

  
  
  
   

   

> What exactly constitutes a generic template? 
> 

You should be able to answer that better than I can :-) .  All templates are 
generic.  You have 4 options 
(http://struts.apache.org/struts-shale/features-reusable-views.html).  What are 
you specifically looking for?


> Thanks, 
> Ryan 

Gary

Re: dynamic form tags

2006-03-02 Thread Michael Jouravlev
On 3/2/06, Rutherford, Matthew <[EMAIL PROTECTED]> wrote:
> Hi
> I'm creating a dynamic form that has multiple checkboxes on it, one for each
> record returned from a database.
> I understand the iterator is what is normally used for dynamic forms.  What
> I am unsure about is how you use iterator whilst also spewing out each db
> record's info (name, etc etc) into a html table?
>
> Im sure this has been covered before but I can't seem to find explicit code
> samples.

For example (this is a mix of Struts-EL and JSTL, so make adjustments
that you need):

  

<%-- Table header --%>

  





  


<%-- Iterate over subscription list --%>

  






<%-- Operations on each subscription: update and delete by host --%>

  

   |
  

  

  

  

Michael

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [shale] clay generic templates and symbol replacement

2006-03-02 Thread Ryan Wynn
On 3/1/06, Ryan Wynn <[EMAIL PROTECTED]> wrote:
> I am getting the following exception and though I have looked at bug
> 37796 I still can't decide if what I am trying to do cannot be done
> with symbol replacement or if I have made a mistake.
>
> The Component jsfid attribute is null.  The cause is most likely a
> missing "clayJsfid" attribute when using HTML templates and nesting
> a clay component.  It is also likely that the problem was caused by using
> generic templates with symbol replacement of the
> [EMAIL PROTECTED]:
> java.lang.NullPointerException
>
> In my component that extends clay, clayJsfid is tied to a value
> binding expression [EMAIL PROTECTED] and in my .html file I
> specify the symbol managed-bean-name to be myBean.
>
> What exactly constitutes a generic template?
>
> Thanks,
> Ryan
>


Here is some more information about my problem.

I have the following files

add.html




templates/template.html




Scheduler
Application



Add New 
Contact

View 
Contacts

Add New Task

View Tasks


Hello 
World!





views/add.html




Now, views/add.html is where the problem is.  collage:wizard is
specified as follows






























































wizardBean has an attribute called viewId which corresponds to the
current view of the wizard (e.g. /views/page1.html).  This viewId will
change with calls to wizardBean.next, wizardBean.back, etc.

It seems like Clay is not able to resolve the symbol wizardBean in
collage:wizard in order to dynamically display the nested clay
component.  Again this is the message that I get:

The Component jsfid attribute is null.  The cause is most likely a
missing "clayJsfid" attribute when using HTML templates and nesting
a clay component.  It is also likely that the problem was caused by using
generic templates with symbol replacement of the
[EMAIL PROTECTED]:
java.lang.NullPointerException

I am going to run it through the debugger.  Please let me know if you
have any advice.

Thanks,
Ryan


validator framework in my Action class

2006-03-02 Thread Deepa Khetan
Hi

Is there a way in which i can use the validator framework in my Action
class? Actually, i have a functionality in which the user can upload an
Excel sheet with a number of records. Now, this excel sheet needs to be in a
format and every column needs to be validated for minlength,maxlength, mask
etc. So, validator framework is good for me. but for validation pupose i
will need to open the Excel sheet and read each value. Cant figur out what
to do.
Please help.

Deepa


Re: Changing Tiles definition based on user role

2006-03-02 Thread Antonio Petrelli

Miller, John ha scritto:
Hi, 

 


I have used tiles basic functionality for some time both in Struts and
JSF/MyFaces env. What I am trying to do is set my tiles definition based
on user role so I would have two tiles defined the same, but based on
user role the correct one would be rendered. 
  


You could use Dimensions for displaying different Tiles definitions 
depending on the user role-device pair (obviously if you use only one 
device, you will display different Tiles definitions depending only on 
the user role ;-) )

http://mutidimensions.sf.net/
Ciao
Antonio

P.S. For the rest of the list... it is not spam what I am sending though 
it could seem as it is! ;-)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Why global error handling doesn't work with struts?

2006-03-02 Thread George.Dinwiddie
You'll have to ask Microsoft why it works that way.

In the meantime, I would advise checking your site with Firefox so that
you can see your custom 404 page.

 - George

> -Original Message-
> From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 02, 2006 3:41 AM
> To: Struts Users Mailing List
> Subject: RE: Why global error handling doesn't work with struts?
> 
> 
> But then why is it behaving that way. It shouldn't. Isn't it? 
> I am using IE 6.0 
> 
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 01, 2006 7:49 PM
> To: user@struts.apache.org
> Subject: RE: Why global error handling doesn't work with struts?
> 
> What browser are you using?  Note that a custom 404 page is 
> still a 404 page, and Internet Explorer will insist on 
> showing you its own 404 page instead of the one sent by the server.
> 
> > -Original Message-
> > From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, February 28, 2006 11:39 PM
> > To: Struts Users Mailing List
> > Subject: Why global error handling doesn't work with struts?
> > 
> > 
> > Hi All
> > 
> > I am running Tomcat 4.x and have tried to set global error
> > handling using the following entry in the web.xml file. But 
> > there is no redirection and I always end up with 404 page not 
> > found error in the browser. I am using struts 1.2 as the MVC 
> > framework for the application.
> >  
> > One more strange thing that I have noticed is that although
> > the error page doesn't show up but it prints the SOP 
> > statements on the console. That means that it is getting 
> > redirected to the error page but why is it not showing up then?
> > 
> > Does anyone have a solution to this problem?
> > 
> > 
> > 404 /weberror.jsp
> > 
> > 
> > 
> > Thanks & Regards
> > 
> > Partha
> > 
> >  
> > 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Changing Tiles definition based on user role

2006-03-02 Thread Miller, John
Hi, 

 

I have used tiles basic functionality for some time both in Struts and
JSF/MyFaces env. What I am trying to do is set my tiles definition based
on user role so I would have two tiles defined the same, but based on
user role the correct one would be rendered. 

For example

 













 

 

I have seen some documentation that makes it sound like this is
possible, but haven't gotten it to work. If anyone has experience in
doing this or can offer some direction it would be appreciated. Also, I
don't think this should make a difference, but I am using the myfaces
JspTilesViewHandlerImpl, I haven't tried this in a pure stuts/tiles env.
Thanks 
 
 
 
NOTICE:  This message, including all attachments transmitted with it, is for 
the use of the addressee only. It may contain proprietary, confidential and/or 
legally privileged information belonging to Litle & Co. No confidentiality or 
privilege is waived or lost by any mistransmission. If you are not the intended 
recipient, you must not, directly or indirectly, use, disclose, distribute, 
print or copy any part of this message.  If you believe you have received this 
message in error, please delete it and all copies of it from your system and 
notify the sender immediately by reply e-mail.  Thank you. 


dynamic form tags

2006-03-02 Thread Rutherford, Matthew
Hi
I'm creating a dynamic form that has multiple checkboxes on it, one for each
record returned from a database.
I understand the iterator is what is normally used for dynamic forms.  What
I am unsure about is how you use iterator whilst also spewing out each db
record's info (name, etc etc) into a html table?
 
Im sure this has been covered before but I can't seem to find explicit code
samples.
 
thanks
 
Matthew Rutherford
Digital Markets - Research team
Dresdner Kleinwort Wasserstein
 
+44 (0) 20 7475 2523
 



The information contained herein is confidential and is intended solely for the
addressee. Access by any other party is unauthorised without the express
written permission of the sender. If you are not the intended recipient, please
contact the sender either via the company switchboard on +44 (0)20 7623 8000, or
via e-mail return. If you have received this e-mail in error or wish to read our
e-mail disclaimer statement and monitoring policy, please refer to 
http://www.drkw.com/disc/email/ or contact the sender. 3167




how to avoid "html:text" tag converting "&" to "&"?

2006-03-02 Thread Ayhan Güngör
hi,

i have some values on DB like "ş" and when i use html:text to
show binding's value, html:text converts "&" to "&". in generated
html, it looks like  "ş".

how to avoid this conversion?

thanks...

Ayhan Güngör

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] Java Hosting Providers, yes, I know it's been brought up before on the list.

2006-03-02 Thread Troy J. Kelley
I'll include my plug here for a company that we partner with when
infrastructure/hosting work is involved.

http://www.apparatus.net/hosting/

They are based out of Indianapolis and have some great sysadmins on
hand.  They currently offer Tomcat 4.1.x, JDK 1.4.2_09 and MySQL 3.2.3
via fedora core 3.  They will be upgrading to fedora core 4 soon.

-Troy



Troy J. Kelley
E-gineering, LLC
10401 North Meridian Street | Suite 150
Indianapolis, IN | 46290 | 317.616.3974
www.e-gineering.com 
-Original Message-
From: Bryan LaPlante [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 02, 2006 8:15 AM
To: Struts Users Mailing List
Subject: Re: [OT] Java Hosting Providers, yes, I know it's been brought
up before on the list.

I feel your pain guys. I found a provider that made me wander why more
of
them don't do this. http://www.eapps.com you get a virtual machine
running
Linux for each domain and one of the most comprehensive control panels I
have ever used. 20 bucks a month gives you a fair amount of features and
space.

My 2 cents

Bryan LaPlante

- Original Message -
From: "Frank W. Zammetti" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" 
Sent: Wednesday, March 01, 2006 11:28 PM
Subject: Re: [OT] Java Hosting Providers, yes, I know it's been brought
up
before on the list.


> While I agree they do this (it happened to me once), that is a risk
you
> run in ANY shared hosting environment... an admin has to make a quick
> decision that will keep the other people sharing your box running, and
> many times the easiest solution (and arguably best) is to shut down
the
> offending service, or app, or even domain, and then try and resolve it
> with the person who owns the supposed offender.  They seem to be
pretty
> good at least of informing you in a timely fashion that they had to
shut
> X or Y down on you.  At least, the one time it happened to me this was
true.
>
> I have been with Lunarpages for I think close to 3 years now,
something
> like that, and it's been a fantastic experience overall.  I personally
> WOULD recommend them... good price for what you get, and they are
quite
> responsive (in my experience) to support requests, and for the most
part
> let you do what you want (yes, there are some "not allowed" items to
be
> aware of as Wendy points out).  But, I seriously doubt they are
checking
> everyones' domains, they will only know if a problem arises, so if
your
> careful I suspect you can skirt that rule just a bit :)
>
> Frank
>
> Wendy Smoak wrote:
> > On 3/1/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
> >
> > Of my mailing list searching, this hosting provider seems to hold
the
most
> >> promise:
> >>
> >> http://www.lunarpages.com/plan2.php
> >
> >
> > I wouldn't... LunarPages has a habit of just disabling access to
anything
> > that they suspect is causing a problem.  Sometimes they have a
legitimate
> > point, sometimes they just say you're "using too many resources" or
> > "affecting other customers on the server".
> >
> > And look at the things that they say are not allowed, including JSF
and
> > Spring:
> > http://helpdesk.lunarpages.com/faq.php?do=article&articleid=120
> >
> > --
> > Wendy
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANN] JAVAWUG BOF XV Video Presentations Now Available [was updat e]

2006-03-02 Thread Pilgrim, Peter
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Pilgrim, Peter
> Sent: Monday, February 27, 2006 1:50 PM

====

Hi

I am very proud to announce that three video presentations are 
now downloadable from Google Video Beta sites. These presentations 
were recorded on our fifteenth Java Web User Group meet-up that
took place at Oracle's City of London offices on Friday, 3rd
February 2006.


(*) JAVAWUG BOF XV Part I : My Experiences with AJAX by Peter Pilgrim
http://video.google.com/videoplay?docid=1575359224165450225


(*) JAVAWUG BOF XV Part II : "JSF Security" by Duncan Mills, Oracle
http://video.google.com/videoplay?docid=-8202568827072126200


(*) JAVAWUG BOF XV Part III: "Spring Into The Rife Framework" Emmanuel 
Okyere
http://video.google.com/videoplay?docid=-6431749968960182884


You can find the presentation slides for all three from the group blog
page here:


http://jroller.com/page/javawug?entry=updated_new_presentation_slides_for

Also check here

http://jroller.com/page/javawug?entry=editor_s_report_of_bof


PS: There two more attempts at a Google Video upload with better 
XVID quantisation factor (3.0) currently being verified by the
search engine. These are part I and part III video files. 
Please check back with the Google Video in a couple days.

> 
> 
> Hi All
> 
> Here is an update of the status. 
> 
> I have uploaded all three videos for each of the speakers 
> to Google Videos ( http://video.google.com)
> They are all in the verification stage at the moment.
> I will let you know when I know that they are accepted and
> deliverable.
> 
> FYI: You will need a XVID codec. 
> Get one from here http://www.xvidmovies.com/codec/ 
> or here for Linux http://www.xvid.org/
> 

Send comments and suggestions to peter dot pilgrim at credit-suisse.com
http://jroller.com/page/peter_pilgrim

--
Peter Pilgrim
Organiser / Founder   ( JAVAWUG  
http://developers.sun.com/jugs/display/europe/gbr/london )
 
   ( ( (  (   (  
   (   )\(   (   )\)\))(   '   (  )\ )   
   )_)(  )\  )_)( ((_)()\ ))\(()/(   
  ((_)\ _ )\((_)((_)\ _ )\_(())\_)()_ ((_)/(_))_ 
 _ | (_)_\(_) \ / /(_)_\(_) \((_)/ / | | (_)) __|
| || |/ _ \  \ V /  / _ \  \ \/\/ /| |_| | | (_ |
 \__//_/ \_\  \_/  /_/ \_\  \_/\_/  \___/   \___|
=
"We're alright!"

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [OT] Java Hosting Providers, yes, I know it's been brought up before on the list.

2006-03-02 Thread Bryan LaPlante
I feel your pain guys. I found a provider that made me wander why more of
them don't do this. http://www.eapps.com you get a virtual machine running
Linux for each domain and one of the most comprehensive control panels I
have ever used. 20 bucks a month gives you a fair amount of features and
space.

My 2 cents

Bryan LaPlante

- Original Message -
From: "Frank W. Zammetti" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" 
Sent: Wednesday, March 01, 2006 11:28 PM
Subject: Re: [OT] Java Hosting Providers, yes, I know it's been brought up
before on the list.


> While I agree they do this (it happened to me once), that is a risk you
> run in ANY shared hosting environment... an admin has to make a quick
> decision that will keep the other people sharing your box running, and
> many times the easiest solution (and arguably best) is to shut down the
> offending service, or app, or even domain, and then try and resolve it
> with the person who owns the supposed offender.  They seem to be pretty
> good at least of informing you in a timely fashion that they had to shut
> X or Y down on you.  At least, the one time it happened to me this was
true.
>
> I have been with Lunarpages for I think close to 3 years now, something
> like that, and it's been a fantastic experience overall.  I personally
> WOULD recommend them... good price for what you get, and they are quite
> responsive (in my experience) to support requests, and for the most part
> let you do what you want (yes, there are some "not allowed" items to be
> aware of as Wendy points out).  But, I seriously doubt they are checking
> everyones' domains, they will only know if a problem arises, so if your
> careful I suspect you can skirt that rule just a bit :)
>
> Frank
>
> Wendy Smoak wrote:
> > On 3/1/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
> >
> > Of my mailing list searching, this hosting provider seems to hold the
most
> >> promise:
> >>
> >> http://www.lunarpages.com/plan2.php
> >
> >
> > I wouldn't... LunarPages has a habit of just disabling access to
anything
> > that they suspect is causing a problem.  Sometimes they have a
legitimate
> > point, sometimes they just say you're "using too many resources" or
> > "affecting other customers on the server".
> >
> > And look at the things that they say are not allowed, including JSF and
> > Spring:
> > http://helpdesk.lunarpages.com/faq.php?do=article&articleid=120
> >
> > --
> > Wendy
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [ANNOUNCE] Struts Central - When only Struts will Do

2006-03-02 Thread Ted Husted
On 3/2/06, Lixin Chu <[EMAIL PROTECTED]> wrote:
> why not consolidate all into one place ? Struts planet, struts central,
> wiki, etc ?

Planet Struts is powered by Roller, and there's been talk of setting
up a Roller on an ASF hardware. I kept Planet Struts separate for now
so that it would be easy to move, if the opportunity presents itself.

The Roller Weblogger Project is a good example of integrating Roller
with a wiki (JSPWiki).

* http://rollerweblogger.org/page/project

When I get a chance, I'd like to try them together myself. One cool
thing about JSPWIki (there are many) is that it can support Subversion
as a data source.

* http://jspwiki.org/wiki/SubversionProvider

But, for now, I wanted to capture the data and post a working
prototype before making any other decisions.

-Ted.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [ANNOUNCE] Struts Central - When only Struts will Do

2006-03-02 Thread Ted Husted
On 3/1/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> Why not to expand and improve Struts wiki?

Given the scope of Struts Central, I wanted to be sure it was
something I could backup myself and maintain under Subversion, like my
other projects.  When it comes to data, I like to fold my own
parachute. :)

-Ted.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Exporting an image from JSP to MS Word

2006-03-02 Thread Anjishnu Bandyopadhyay

Hi all,



I am generating a MS Word document through JSP, by setting the JSP's
content type as "application/msword;".

In the Word document, I want to display an image.



But, I am not being able to export that image. I have tried giving the
complete context path, and, the relative path; as the image source.

I have tried something like:

1.  
2.  http://localhost:9080/FULL FOLDER PATH/tab_corner.gif"
/>
3.  

where, FULL FOLDER PATH = contextroot of the webproject/name of the
folder in which the image is located



But, it doesn't work in that way. Is there any other way?



Is there any way to directly embed an image within the JSP (i.e the Word
document)?



Thanks for your time.



With best regards,

Anjishnu.





 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***

Re: [ANNOUNCE] Struts Central - When only Struts will Do

2006-03-02 Thread Lixin Chu
oh, did not notice that.


Re: Struts Dialog

2006-03-02 Thread Danny Lee

Hello, Michael!

That's cool :)
Now I know, what I gonna do the next weekend!

Cheers,

Danny


Michael Jouravlev wrote:


I just uploaded the preview of version 2:

...

I will upload final version of the library and the documentation in
about a week.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Struts Dialog

2006-03-02 Thread Michael Jouravlev
On 3/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Thank you for quick reply Michael.
> Yes I am talking about Struts Dialogs.

I just uploaded the preview of version 2:

http://struts.sourceforge.net/strutsdialogs/index.html
https://sourceforge.net/project/showfiles.php?group_id=49385&package_id=154597&release_id=397936

I removed most of the classes from the library (I am sorry if you took
time to learn how they work), but event dispatcher class is sufficient
for all needs of Struts Dialogs (courtesy of Paul Benedict). The
wizard engine is virtually unchanged, though.

I will upload final version of the library and the documentation in
about a week.

Michael.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Why global error handling doesn't work with struts?

2006-03-02 Thread Partha Pratim Dutta
But then why is it behaving that way. It shouldn't. Isn't it? I am using
IE 6.0 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 01, 2006 7:49 PM
To: user@struts.apache.org
Subject: RE: Why global error handling doesn't work with struts?

What browser are you using?  Note that a custom 404 page is still a 404
page, and Internet Explorer will insist on showing you its own 404 page
instead of the one sent by the server.

> -Original Message-
> From: Partha Pratim Dutta [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, February 28, 2006 11:39 PM
> To: Struts Users Mailing List
> Subject: Why global error handling doesn't work with struts?
> 
> 
> Hi All
> 
> I am running Tomcat 4.x and have tried to set global error 
> handling using the following entry in the web.xml file. But 
> there is no redirection and I always end up with 404 page not 
> found error in the browser. I am using struts 1.2 as the MVC 
> framework for the application.
>  
> One more strange thing that I have noticed is that although 
> the error page doesn't show up but it prints the SOP 
> statements on the console. That means that it is getting 
> redirected to the error page but why is it not showing up then?
> 
> Does anyone have a solution to this problem?
> 
> 
> 404
> /weberror.jsp
> 
> 
> 
> Thanks & Regards
> 
> Partha 
> 
>  
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]