You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Eric Chow <er...@gmail.com> on 2004/09/12 15:36:05 UTC
XDoclet + Struts validator question
Hello,
How can I define the xdoclet tag for struts validator that the
validated field muct depends to another field ??
For example,
if the "action" is "new" then all the fields(name, sex) must be required.
if the "action" is "edit" then only the "name" is required !!!
Please give me a hand.
Best regards,
Eric
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org