I suspect you should create two action classes for this kind of
validation.
Either that, or over-ride the validation (and don't use the annotations)
using the validation() method.

-----Original Message-----
From: shan99 [mailto:[EMAIL PROTECTED] 
Sent: 17 October 2007 09:27
To: user@struts.apache.org
Subject: RE: S2 : Validation per Action method - ideas?


I got a problem like  this

I have 2 mothods caled edit() and create() I used annotation based
validation
but tthing is i want to validate some of experssions in edit method and
some
of the in create() method
cant use @skipValidation in this
my problem is i can not difine this seperatly in my actiion class ..both
methods get validate from all expressions? any 1 have a ida?
-- 
View this message in context:
http://www.nabble.com/S2-%3A-Validation-per-Action-method---ideas--tf424
2670.html#a13249097
Sent from the Struts - User mailing list archive at Nabble.com.


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


Scanned by MailDefender - managed email security from intY -
www.maildefender.net

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

Reply via email to