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

hstang do-not-reply at jboss.com
Sat Dec 23 14:32:27 EST 2006


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



More information about the jboss-user mailing list