Dear All,

I'm working on validation right now and I have encountered a new problem. I use 
the standard Validation annotation @Length in such a way:

@Length(min=4, max=12, message="#{messages.loginLengthValidation}")

loginLenghtValidation is an entry in my resource bundle. In hibernate 
documentation I found out that if I want to include in this message the min or 
max value I should put { max} ({ min}). But this ain't working.

What is the correct syntax? Is it at all possible?

Kind Regards,

Karol Oslowski

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

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

Reply via email to