:[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
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
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
[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
: 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
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
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
7 matches
Mail list logo