hi,

is there any chance to access the 'max' property of the hibernate 
length-validator via expression language or any other way?

example:
anonymous wrote : @Length(min = 5, max = 40)
  | private String      name;

i want to use the given 'max' value from the annotation to restrict the input 
field via maxlength property:

anonymous wrote : input type="text" maxlength="#{xxxxxxxx.max}"

any ideas?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103883
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to