You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by kukreja sanjeev <sa...@yahoo.com> on 2007/09/01 11:27:39 UTC
Reg : Client side Validation on Indexed Collection
Hi ,
I am trying to put validations on indexed collection.
Is there any way I can have that in validation-<action>.xml file.
It would be great if you can pls.throw some light on it.
Thanks in advance,
Sanjeev
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
Re: Reg : Client side Validation on Indexed Collection
Posted by Laurie Harper <la...@holoweb.net>.
kukreja sanjeev wrote:
> Hi ,
> I am trying to put validations on indexed collection.
> Is there any way I can have that in validation-<action>.xml file.
> It would be great if you can pls.throw some light on it.
Which version of Struts are you using? Struts 1 lets you specify
multiple validation files in the configuration, but wont automatically
search for per-action validation files.
Struts 2 can find validation rules in various places automatically,
including per-action files. See 'Defining Validation Rules' in the
validation documentation [1] for details.
L.
[1] http://struts.apache.org/2.x/docs/validation.html
ObWhine: please don't post unrelated questions to an existing thread. Be
sure to start a new thread (with an appropriate subject) by sending a
fresh message to the list, rather than using Reply To.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org