Hi,
I have a form with elements that should support validation groups.
On the form there is JSF an h:selectBooleanCheckbox, if false one "field group" should be validated. And if true, the other "field group" should be validated.
As I'm using Seam 3, the Faces s:validateForm maps which elements should be validated. In my Validator bean I need to disable validation in case checkbox is true.
When validation occurs, bean validation will throw what ever bean annotation message is declared, from my bound persistent bean that is.
How can I disable bean validation on annotated classes?
Any suggestions?
Cheers, Ove
|