Re: Re : s:url tag - multiple params with same name

2010-08-11 Thread Dave Newton
Well, the OP said it did in the post you replied to, so I bet you're right! On Wed, Aug 11, 2010 at 8:11 PM, Zoran Avtarovski wrote: > I haven¹t tried it but I suspect that if you use a list it should work. > > Something like this: > > > > > > Z. > > > > > On Fri, 06 Aug 2010 17:12:10 -04

Re: Re : s:url tag - multiple params with same name

2010-08-11 Thread Zoran Avtarovski
I haven¹t tried it but I suspect that if you use a list it should work. Something like this: Z. > > On Fri, 06 Aug 2010 17:12:10 -0400, François Rouxel > wrote: > >> > should be working, did you put in s:url tag includeParameters='get' ? >> > > > Yes, although I don't think that's w

[S2] validation short-circuit

2010-08-11 Thread mailtolouis2020-struts
Hi, In the validation, short-circuit is for when the validation failed, the following not get rules not get evaluate. Is there anything similar like this, but when one field validation pass, the rest no need to get evaluate? Regards LV

Re: How do we repopulate controls when validation fails?

2010-08-11 Thread Alex Rodriguez Lopez
Don't know if this solves your problem, but maybe it helps to use the params-prepare-params trick, calling params interceptor twice, so you have your params ready before prepare(). You have an already configured stack, the paramsPrepareParamsStack From struts-default.xml:

How do we repopulate controls when validation fails?

2010-08-11 Thread Franz Wong
Hi, I have read the documentation "How do we repopulate controls when validation fails" [1]. I tried the action tag solution. However, when there is a validation error, the execute method of the action in is not called. I don't choose the Preparable solution because the parameter required is not

Re: how to remove .action suffix in struts 2.1

2010-08-11 Thread Dave Newton
(Although XML configuration is really the preferred mechanism.) Dave On Wed, Aug 11, 2010 at 7:19 AM, Rakeshkumar Parmar < rakeshkumar_par...@persistent.co.in> wrote: > Hi, > > You can find it in struts-default.properties file. > struts.action.extension=action > > create struts.prope

RE: how to remove .action suffix in struts 2.1

2010-08-11 Thread Rakeshkumar Parmar
Hi, You can find it in struts-default.properties file. struts.action.extension=action create struts.properties file in /WEB-INF/class and provide no extension. That should work for you. regards, Rakesh -Original Message- From: Supratim Bandyopadhyaya [mailto:mail.supra..

how to remove .action suffix in struts 2.1

2010-08-11 Thread Supratim Bandyopadhyaya
Hi all, I need to remove the .action suffix associated with the actions. Please advise how to do this. Thanks and regards, Supratim