Re: Question on validation

2008-01-23 Thread Martin Braure de Calignon
Le mercredi 23 janvier 2008 à 11:17 +0200, Andriy Kharchuk a écrit : > You can turn off validation for a specific method by using the > @SkipValidation annotation above your action method. > > http://struts.apache.org/2.x/docs/validation.html > Ok many thanks, I though it works only for validat

Re: Question on validation

2008-01-23 Thread Andriy Kharchuk
You can turn off validation for a specific method by using the @SkipValidation annotation above your action method. http://struts.apache.org/2.x/docs/validation.html 2008/1/21, Martin Braure de Calignon <[EMAIL PROTECTED]>: > > Hello :-), > > I have two questions, the first one is more important

Re: Question on validation

2008-01-21 Thread Martin Braure de Calignon
Le lundi 21 janvier 2008 à 14:35 +0100, Martin Braure de Calignon a écrit : > Hello :-), > > I have two questions, the first one is more important for me : > I have a validation xml files, but I want to validate only if user click > on 'OK' button, and not on 'Cancel'. How to do this ? Do I have

Re: Question on validation. ...

2008-01-08 Thread Laurie Harper
Mufaddal Khumri wrote: Hi, Lets say I have an action and some of the properties being set on that action are to be validated which I can do a number of ways. Is there a way in Struts2 to tell the system not to valid the framework the first time the action is accessed: [Turn validation off]