Force JSF to bean-validate ALL fields of my bean, not only those bound to an input field -
i working apache myfaces core 2.1 library , hibernate validator 5. have simple javabean annotations. form input fields map javabean. however, if annotate field constraint (e.g. @notnull or @min(value = 1000)) not use input field in form, fields of javabean valid. can force jsf lifecycle validate fields of may javabean, not input field?
no cannot. integration of jsf bean validation uses validator.validatevalue validate each input field on own. not using validator.validate in order validate whole bean.
if want full bean evaluated need on layer (eg jpa if using it).