6 Replies Latest reply on Dec 23, 2006 3:06 PM by Tony Herstell

    One way of doing things?

    Tony Herstell Master


       @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.