[jboss-user] [JBoss Seam] - Re: @Length in char(1) property

dan.j.allen do-not-reply at jboss.com
Tue Jul 10 12:44:18 EDT 2007


You know, as I contemplate this, I realize that whose court it belongs is a toss up. The LengthValidator returns false if the property is not a String. On the other hand, a char can only be length 1 or null. So it is a pointless validation in this case. I think the right step is for seam-gen to not put this annotation. (I can be persuaded though. It's not my project). 

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

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



More information about the jboss-user mailing list