Re: [s2] conditional validation

2007-11-22 Thread lbastil
;> why I >> >>> cannot see how it >> >>> should help. >> >>> >> >>> Could you explain your suggestion a little more >> in >> >>> detail? >> >>> Would it be rea

Re: [s2] conditional validation

2007-11-22 Thread Dave Newton
too? > >>> > >>> Thank you very much in advance, > >>> Basti > >>> > >>> > >>> > >>> newton.dave wrote: > >>> > > >>> > Create two validation XML files, one for each

Re: [s2] conditional validation

2007-11-22 Thread lbastil
between them in a couple >>> > different ways, the easiest may be to just create >>> two >>> > action mappings, one for each method. >>> > >>> > d. >>> > >>> > --- lbastil <[EMAIL PROTECTED]> wrote: >

Re: [s2] conditional validation

2007-11-21 Thread lbastil
rote: >> > >> >> >> >> Is there any way with the build in declarative >> >> validation possibilities in >> >> struts 2 (annotations, xml) >> >> to do something like conditional validation in >> the >> >> followin

Re: [s2] conditional validation

2007-11-20 Thread Dave Newton
conditional validation in > the > >> following sense: > >> > >> in the action class I have a model class, where > on > >> action method one i want > >> to validate > >> a special subset of model attributes and on > action > >

Re: [s2] conditional validation

2007-11-20 Thread lbastil
n >> method two another subset >> of attributes? >> >> (note the model in action is used "modeldriven") >> >> Thank you for any idea, >> Basti >> -- >> View this me

Re: [s2] conditional validation

2007-11-20 Thread Dave Newton
utes and on action > method two another subset > of attributes? > > (note the model in action is used "modeldriven") > > Thank you for any idea, > Basti > -- > View this message in context: > http://www.nabble.com/-s2--conditional-validation-tf4843582.ht

[s2] conditional validation

2007-11-20 Thread lbastil
and on action method two another subset of attributes? (note the model in action is used "modeldriven") Thank you for any idea, Basti -- View this message in context: http://www.nabble.com/-s2--conditional-validation-tf4843582.html#a13857280 Sent from the Struts - User mailing list

Re: [S2] Conditional Validation (test if field is present in JSP)

2007-09-17 Thread cilquirm
; > > true > > > > ... > > > > > > cilquirm <[EMAIL PROTECTED]> > 17/09/2007 16:50 > Veuillez répondre à > "Struts Users Mailing List" > > > A > user@struts.apache.org > cc > > Objet > Re: [S2] C

Re: [S2] Conditional Validation (test if field is present in JSP)

2007-09-17 Thread MLENEVEUT
17/09/2007 16:50 Veuillez répondre à "Struts Users Mailing List" A user@struts.apache.org cc Objet Re: [S2] Conditional Validation (test if field is present in JSP) somewhat hackish, but you can accomplish this by using expressions : #params['attrib'] != null ? att

Re: [S2] Conditional Validation (test if field is present in JSP)

2007-09-17 Thread cilquirm
g of this flag ? > > Thanks for your tips. > > Regards, > > Michaël > -- View this message in context: http://www.nabble.com/-S2--Conditional-Validation-%28test-if-field-is-present-in-JSP%29-tf4465421.html#a12737286 Sent from the Struts - User mailing list archive at Nabble.com. ---

[S2] Conditional Validation (test if field is present in JSP)

2007-09-17 Thread MLENEVEUT
Hi all, We have an Action redirecting to several JSP, depending on the customer. But the forms of these JSP are different : some fields are added/removed in some JSP. So the automatic validation fails for those fields not existing in some JSP. We bypass the problem by copying the Action metho