Hi List,
I have switched from Tapestry's validation API to JSR 303 Bean
Validation API. I have provided a message catalog in
ValidationMessages.properties in the default package. It gets loaded and
the localized error messages are displayed. Only one thing bothers me.
The messages are prepended by the name of the property being validated.
E.g. my bean has a property "getMsg()" that is required. The resulting
error message would be "Msg is required". I'd like to override the "Msg"
part with a more sensible value like "Message" in English or "Nachricht"
in German. How could this be achieved? Would I have to provide a custom
implementation of MessageInterpolator?
I know this question is more related to Bean Validation than to
Tapestry. But maybe someone on this list has encountered the same
problem and can provide a solution for this.
Thanks in advance, nillehammer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org