7 Replies Latest reply on Sep 23, 2015 12:24 PM by bengao

    RichFaces 4 final - rich:graphValidator - disable some validators

    yirco

      Hi,

       

      I tried to disable validation of some properties which are within rich:graphValidator on a page using <f:validateBean disabled="true"/> and <rich:validator disabled="true"/>. However, rich:graphValidator always validates all properties annotated with validator. Is this intended behaviour? Is it possible to force some exceptions?

       

      For example when a user profile is created Password and Confirm Password are mandatory and must be the same. But when modifying the profile the fields are not mandatory though if entered they must be the same.

       

      Thank you.