HI,
I have the following code in my JSP file:
<h:inputText id="name" value="#{jsfBean.name }" required="true"/>
<h:message for="name"/>
The error messages displayed is something like this:
j_id_jsp_1916142437_1:name: Validation Error: Value is required.
How can I format the output error message like giving the color,font,etc.
Simply By applying CSS.
You can also override default messages by providing Messages.properties file
Also See