Re: [STRUTS] Resource bundle and form validation

2006-07-03 Thread Olivier Godineau
Thanks for your message. In fact, the solution you propose isn't appropriate to my problem. Because, in my application, the choice of the resource bundle depends on the user. The key of the ressource bundle is in the user session, so i can't specify it in the validation configuration file. Olivie

Re: [STRUTS] Resource bundle and form validation

2006-07-03 Thread Niall Pemberton
Support for different resource bundles in the Commons Validator DTD was added in Struts 1.2.7 and Commons Validator 1.1.4 (although I would recommend Struts 1.2.9 if you're upgrading and Validator 1.3.0). So in you validation.xml you can specify a "bundle" attribute on either the or element: