--- Bisskit <[EMAIL PROTECTED]> wrote:
> I want to use custom validators with Struts 2. In the Release Notes 2.0.8
> it says:
> 
> "Furthermore it is no longer required, that all default validators need to
> be copied
> over into a customized validators.xml configuration.
> Just override existing (those from default) with a custom implementation or
> extend
> it with custom configurations."
> 
> But how can I extend it? In the DTD there is no extend attribute for
> validators. Or do I just have to put a validators.xml in the classpath
> containing my custom validators and it is extended automaticly.

My interpretation of that documentation would be that you can put your custom
validators in your own validators.xml file and they'll be included along with
the default validators. This appears to be the case.

I've updated the Wiki docs and will see if this is a feature of S2 or XWork
and update the XWork JavaDocs appropriately.

Thanks for the input.

(Although it might have been quicker to just try it.)

d.


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

Reply via email to