I am facing an issue where the validation is not simply on one field of a bean but a combination of multiple fields, for example, field a can be set to true only if field b is true. We use Hibernate validation annotation on the bean for the normal one field validation such as @NotNull, @Length, etc.. My question is,
1. How to do multiple fields validation from Hibernate and more importantly
2. How to let Seam take advantage of that validation?
You need to do that programmatically in your form action component (or whatever you have to process the form postback), e.g. call Hibernate Validator with the object you want to test, then pass on the return value as a FacesMessage to the UI (you can use the Seam facesMessages component for this).