Hi,

> How the validation should be done for fields which are only displayed in 
> certain conditions? If  I do this through the XML file the validation is done 
> all the time even when the field is not visible.

You can implement validate() or validate<ActionAlias>() and remember
to implement Validatable interface.
http://struts.apache.org/2.1.2/docs/validation.html


Regards
-- 
Lukasz
http://www.lenart.org.pl/

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

Reply via email to