RE: S2: input by method for validations

2007-11-07 Thread Manuel Correa
:[EMAIL PROTECTED] Sent: Tuesday, November 06, 2007 7:58 PM To: Struts Users Mailing List Subject: Re: S2: input by method for validations Maybe this is obvious, but why not just break this into two different action classes? Then you get easy control of where you map the "INPUT" r

Re: S2: input by method for validations

2007-11-06 Thread Gary Affonso
ine dynamically the input depends of the method that is call.!! Thanks Manuel Correa. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 06, 2007 1:00 PM To: Struts Users Mailing List Subject: RE: S2: input by method for validations You *might* be

RE: S2: input by method for validations

2007-11-06 Thread Manuel Correa
lveira [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 06, 2007 12:20 PM > To: Struts Users Mailing List > Subject: Re: S2: input by method for validations > > the name of the XML must be like > > ClassName-actionAlias_methodName-validation.xml > > so you must

RE: S2: input by method for validations

2007-11-06 Thread Dave Newton
[EMAIL PROTECTED] > Sent: Tuesday, November 06, 2007 12:20 PM > To: Struts Users Mailing List > Subject: Re: S2: input by method for validations > > the name of the XML must be like > > ClassName-actionAlias_methodName-validation.xml > > so you must rena

RE: S2: input by method for validations

2007-11-06 Thread Manuel Correa
: Fátima Silveira [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 06, 2007 12:20 PM To: Struts Users Mailing List Subject: Re: S2: input by method for validations the name of the XML must be like ClassName-actionAlias_methodName-validation.xml so you must rename your xml to Class

Re: S2: input by method for validations

2007-11-06 Thread Fátima Silveira
the name of the XML must be like ClassName-actionAlias_methodName-validation.xml so you must rename your xml to Class-classAction_methodA-validation.xml Class-classAction_methodB-validation.xml On 11/6/07, Manuel Correa <[EMAIL PROTECTED]> wrote: > > I need to define a custom input for method

S2: input by method for validations

2007-11-06 Thread Manuel Correa
I need to define a custom input for method in the same action. For example, I have the "methodA" that receive the information from inputA.jsp I have "methodB" that receive from inputB.jsp I use the validation for each one: classAction_methodA-validation.xml classAction_methodB-valida