Re: [s2] conditional validation

2007-11-22 Thread lbastil
of model attributes 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

Re: [s2] conditional validation

2007-11-22 Thread Dave Newton
-- View this message in context: http://www.nabble.com/-s2--conditional-validation-tf4843582.html#a13857280 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e

Re: [s2] conditional validation

2007-11-22 Thread lbastil
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 archive at Nabble.com

Re: [s2] conditional validation

2007-11-21 Thread lbastil
] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-s2--conditional-validation-tf4843582.html#a13859839

[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 archive

Re: [s2] conditional validation

2007-11-20 Thread Dave Newton
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 archive at Nabble.com

Re: [s2] conditional validation

2007-11-20 Thread lbastil
-- View this message in context: http://www.nabble.com/-s2--conditional-validation-tf4843582.html#a13857280 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [s2] conditional validation

2007-11-20 Thread Dave Newton
to validate a special subset of model attributes 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

[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

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

2007-09-17 Thread cilquirm
if the fields exist and if yes doing the field validation ? Or setting a flag (hidden field) in the JSPs and doing differents sets of validation depending of this flag ? Thanks for your tips. Regards, Michaël -- View this message in context: http://www.nabble.com/-S2--Conditional

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

2007-09-17 Thread MLENEVEUT
=trimtrue/param message key=errors.required/ /field-validator /field ... cilquirm [EMAIL PROTECTED] 17/09/2007 16:50 Veuillez répondre à Struts Users Mailing List user@struts.apache.org A user@struts.apache.org cc Objet Re: [S2] Conditional Validation (test

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

2007-09-17 Thread cilquirm
Users Mailing List user@struts.apache.org 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 ? attrib in ('a','list','of','values