5 Replies Latest reply on Oct 6, 2009 8:44 PM by Aldo Bonzi

    Required field custom message

    guy bashan Apprentice

      Hi,


      I was trying to show a custom message to a required field


      (required="true")



      .
      I specified the message in the


      @NotNull



      annotation.
      Like:



      @NotNull(message="Please fill username")





      But I got the regular required message. Is the a way of showing a custom message in this case?


      Thanks,
      Guy.