I made a MVC based website using JSF 2.0 and RichFaces 4. Every input text validation is been done using bean validation annotations. I am using Hibernate Validator as bean validation implementation.
How can I display a localized message?
If I use
@NotNull(message="<h:outputText value=\"#{msg['Mymessage']}\" />")
then it literally displays <h:outputText value="#{msg['Mymessage']}" />
as message.
How is this caused and how can I solve it?