Hi I have this forms that isn’t showing
The validation messages. I belive I have done about everything right.
In the JPA entity
@NotEmpty(message="{not_empty}")
Private String studentNo;
In the ValidationMessages.properties which is inside the classes when the war is deployed ,I have
Not_empty=Field is required
In the xhtml,
I have a
I have also configured the message-bundle in the faces-config pointing to the Validation messages.
I believe I have done everything,still the validation message does not show when validation fails.
In the command button , I added update=”@Form” to it. So when the validation failed , it showed up the validation messages.
silly me!