I have a jsf page with
<h:inputText required="true">
attribute.
When I click on my add button, I want to see an error if the field is blank.
I have a <f:message>
to display this.
But how can I escape (cancel) the page with that field blank? In my case it continually posts the error message and I have to enter something in the field to go to another page.