With the following:

  | ## Address.java
  | @Length(min = 2, message = "#{messages['city.message']}")
  | String city;
  | 


  | ## messages.properties
  | city.message=City must be minimum length of {min}
  | 

I literally get the message: "City must be minimum length of {min}" when 
validation fails but I was hoping for "City must be minimum length of 2".

I think I might be missing something.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049934
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to