you don't. - or rather, you can't.
there are some alternatives:

1. if the library of the page which contains the validated components is predictable, you can access its message catalog by calling getPage().getMessages() on the validated component.

You can add the validator's messages then to the library's properties file.

2. you can load your own resource bundle.
this is in fact very simple. There are some differences between tapestry messages and java resource bundles - but basically that would work quite simply.


Dan Adams wrote:
In the Validator.validate() method you get passed a ValidationMessages
instance. How do I have my validation messsages included in
ValidationMessages so I can use them in my validator?



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

Reply via email to