by pass the validation

2013-07-09 Thread Alireza Fattahi
Hi,
When I put SomeAction-validation.xml nead an action class, the validation is 
always checked before execute method.
If I have more than one method in the action, will the validation execute for 
them too ?! Is there any way that I can configure which methods should by pass 
the validation


 
~Regards,
~~Alireza Fattahi




RE: by pass the validation

2013-07-09 Thread Kofford, C. Todd
I think that if you name your validation file as follows it will only trigger 
for the given method.

SomeAction-method-validation.xml

For the saveFile method you would have:

SomeAction-saveFile-validation.xml

Todd Kofford
tkoff...@ku.edu

From: Alireza Fattahi [afatt...@yahoo.com]
Sent: Tuesday, July 09, 2013 8:16 AM
To: Struts Users Mailing List
Subject: by pass the validation

Hi,
When I put SomeAction-validation.xml nead an action class, the validation is 
always checked before execute method.
If I have more than one method in the action, will the validation execute for 
them too ?! Is there any way that I can configure which methods should by pass 
the validation



~Regards,
~~Alireza Fattahi





-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



RE: by pass the validation

2013-07-09 Thread Neville Fernandes
Hi Alireza

See if this helps  SomeAction-AliasName-validation.xml, where AliasName is 
method/action name

Regards,
 
Neville Fernandes | Software Engineer
Cell: +91-9049398189| Off Tel: +91-832-6628733
Persistent Systems Ltd.| Partners in Innovation | www.persistentsys.com

-Original Message-
From: Alireza Fattahi [mailto:afatt...@yahoo.com]
Sent: 09 July 2013 PM 06:47
To: Struts Users Mailing List
Subject: by pass the validation

Hi,
When I put SomeAction-validation.xml nead an action class, the validation is 
always checked before execute method.
If I have more than one method in the action, will the validation execute for 
them too ?! Is there any way that I can configure which methods should by pass 
the validation


 
~Regards,
~~Alireza Fattahi




DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org