Well, I have a Java EE application.
I'm using hibernate, jsf and primefaces.
My question is: How to output error message when a field is left empty ?
For example, in the form bellow I have the fields CNPJ and CPF:
How could I show a message after leaving those fields ?
A message like: "The CPF field is empty", but it should not avoid the costumer to save the data.
Ta-ta for now.