3 Replies Latest reply on Jul 27, 2008 9:02 PM by System Administrator

    overriding JSF required msg with hibernate validator msg

    System Administrator Expert

      I have


      in my entity class for a getter method which is not displaying when I use this in the facelet:

      <h:inputText id="id1" value="#{componentName.phoneNumber}" required="true"/>

      how can I override the default value is required message from JSF with the custom message from @NotNull?