Use the message attribute of the annotation if you need something more specific
for particular property.
e.g.
@Range(min = 1000, max=2000, message="Apartment number must be between {min}
and {max})
private Integer apartmentNumber;
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996036#3996036
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996036
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user