[jboss-user] [JBoss Seam] - s:validateAll and resource bundles

hstang do-not-reply at jboss.com
Wed May 30 18:24:35 EDT 2007


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



More information about the jboss-user mailing list