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
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
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
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 to make
all my fields as expression or fieldexpression and test the value of the
submit
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]
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]
http://mydomain.com/w
hi,
I managed to have it working with the following validation rule:
outSamplePeriods
At least one Out of Sample Period must be provided
it displays the message under the entry but does not
display a message on top of the right field name ... how can I have that?
TIA,
regards,
Giovanni
G
hi,
I am trying to introduce a validation rule that checks that at least one
element has been
added to an optiontransferselect UI component. I use the expression type
validation but
does not seem to work ... see the details below.
TIA,
regards,
Giovanni
Hi Dave,
It did not work for the method but worked for the action alias this way:
A-alias-validation.xml
Thanks a lot for your help again.
Daniel
2007/2/10, Dave Newton <[EMAIL PROTECTED]>:
--- Daniel Amadei wrote:
> My question is: is there a way to configure the
> validation for an action t
--- Daniel Amadei wrote:
> My question is: is there a way to configure the
> validation for an action to work just for some
> methods and not for others?
This is off the top of my head; typical grain-of-salt
warnings apply.
In addition to tweaking the list of methods that are
skipped for the val
Hi All,
Suppose I have an action called a.A with some methods for updating
records and other for querying or just redirecting.
If I set up the validation file, it works for update but also for the
querying and redirection methods, which is not what I want.
My question is: is there a way to conf
11 matches
Mail list logo