I know the issue is discussed in many posts in the forum, however I'm still having problems customizing the messages for the bean validation. Maybe some little things missing in configuration or file location...
When the validation call the message, the web page shows the message ID instead of the message text.
For example I see in the web page {messages.myMessageId}
I have:
src/com/myapp/view/validationvalidation_en.poperties
webuser_name_notnull = Name is required
faces-config.xml
<message-bundle>
com.myapp.view.validation
</message-bundle>
webuser.java
@NotNull(message = "{webuser_name_notnull}")
private String name;
Many thanks for support!