You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by RogerV <ro...@googlemail.com> on 2010/12/09 14:52:54 UTC

@CustomValidator - quick question

When defining my own CustomValidator, when I come to register my new
validator in validators.xml located on the classpath will I loose the
"built-in" validators or must I copy a default validators.xml from somewhere
and amend that?

REgards
-- 
View this message in context: http://old.nabble.com/%40CustomValidator---quick-question-tp30416665p30416665.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: @CustomValidator - quick question

Posted by Dave Newton <da...@gmail.com>.
Why not just try it? Or check the documentation? There's a note that
addresses this specific issue:

http://struts.apache.org/2.x/docs/validation.html#Validation-RegisteringValidators

<http://struts.apache.org/2.x/docs/validation.html#Validation-RegisteringValidators>
Dave

On Thu, Dec 9, 2010 at 8:52 AM, RogerV <ro...@googlemail.com> wrote:

>
> When defining my own CustomValidator, when I come to register my new
> validator in validators.xml located on the classpath will I loose the
> "built-in" validators or must I copy a default validators.xml from
> somewhere
> and amend that?
>
> REgards
> --
> View this message in context:
> http://old.nabble.com/%40CustomValidator---quick-question-tp30416665p30416665.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>