[jboss-user] [JBoss Seam] - One way of doing things?

tony.herstell@gmail.com do-not-reply at jboss.com
Sat Dec 23 02:00:43 EST 2006


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



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995996#3995996

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995996



More information about the jboss-user mailing list