I have a simple JSF form with some validation on the input text. Something like:
<h:inputText id="firstName" value="#{userHandler.user.firstName} required="true" />
<h:message for="firstName" />
Works fine. Except that the error message looks like this:
"j_id786643870_20c27c0a:firstName: Validation Error: Value is required."
How do I tell JSF not to show the element id of the element and just show the text message?
That is, I only want it to say:
"Validation Error: Value is required."