JSF doesn’t validate empty forms
Error:
Caused by org.hibernate.validator.InvalidStateException with message: “validation failed for: MyHibernateEntity”
Are you getting this error while trying to validate a form with empty fields using Seam, JSF and Hibernate? Then read on.
Seam allows you to define validation conditions on a single place: on the Hibernate / JPA entities. And then use this condition in the view without [...]