[jboss-user] [JBoss Seam] - @Length throws InvalidStateException when String is null or

pettersonfp do-not-reply at jboss.com
Tue Jun 26 15:38:49 EDT 2007


Hi,

If I have a property annotated with @Length and the field is not required in the form.  A InvalidStateException is thrown complaining that the property's lenght must be between min and max.

Anyone knows if there is a way to use @Length in nullable fields?

Thanks in advance,
Petterson

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

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



More information about the jboss-user mailing list