That's configured in struts.xml, where the validationInterceptor
excludes methods from validation:

               <interceptor-ref name="validation">
                   <param
name="excludeMethods">cancel,execute,delete,edit,list,start</param>
               </interceptor-ref>

Matt

On 2/21/07, ros <[EMAIL PROTECTED]> wrote:

Looks like java script client-side validations ignores this.

Is there functionality to make per-method validation with
TestAction-TestAction_method-validation.xml like files?

Why in personForm.jsp (tutorial) tutorial on cancel button validation is
ignored?


mraible wrote:
>
> You can use the @SkipValidation annotation on a method to skip
> validation for methods:
>
> http://struts.apache.org/2.x/docs/validation.html
>
> Matt
>
> On 2/21/07, ros <[EMAIL PROTECTED]> wrote:
>>
>> Hi!
>>
>> How to configure struts2 validation for only one method in action?
>>
>> Thanks.
>> --
>> View this message in context:
>> 
http://www.nabble.com/struts2-validation-for-only-one-method-in-action-tf3267151s2369.html#a9082179
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> http://raibledesigns.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

--
View this message in context: 
http://www.nabble.com/struts2-validation-for-only-one-method-in-action-tf3267151s2369.html#a9083245
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to