6 Replies Latest reply on Dec 23, 2006 3:06 PM by tony.herstell1

    One way of doing things?

    tony.herstell1

       

       @NotNull(message="required")
       @Length(min = 5, max = 15, message = "5_to_15_chars_long")
       public String getPassword() {
       return password;
       }
      


      I want the Validation annotation to drag the error message from the same Resource (message.properties) as the GUI code.

      Please advise how you achieve this.