You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mallik <ma...@yahoo.com> on 2006/09/12 12:36:57 UTC
Globalizing some general validations in validation frame work?
HI friends
i would like to say thanks to every one on this forum for your support
the problem is..
i have some forms, each from has some common fields like id, name, etc
i would like to specify the validations only once in validator.xml for all
forms ( globalizing them for all forms)
if possible, how would i do? please let me know
and i need a tutorial or book which deals with most of the validator
framework...
ur's
Mallik
--
View this message in context: http://www.nabble.com/Globalizing-some-general-validations-in-validation-frame-work--tf2258065.html#a6263447
Sent from the Struts - User forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Globalizing some general validations in validation frame work?
Posted by Laurie Harper <la...@holoweb.net>.
Mallik wrote:
> HI friends
> i would like to say thanks to every one on this forum for your support
>
> the problem is..
> i have some forms, each from has some common fields like id, name, etc
> i would like to specify the validations only once in validator.xml for all
> forms ( globalizing them for all forms)
> if possible, how would i do? please let me know
> and i need a tutorial or book which deals with most of the validator
> framework...
> ur's
> Mallik
What version of Struts are you using? As of validator_1_2_0.dtd, the
<form/> element has an 'extends' attribute, which you can use to
reference a common base set of validation rules. Struts supports this
starting with the 1.3 release series. A beta, version 1.3.5, is now
available [1].
L.
[1] http://struts.apache.org/download.cgi#struts135
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org