[jboss-user] [JBoss Seam] - seam and hibernate validation

goose-dog do-not-reply at jboss.com
Tue Jul 11 20:39:54 EDT 2006

I have changed the seam.properties so that it uses my own resource bundle for messages:

this works good, now when I have validation annotations in my entity bean eg. @Pattern(regex="[A-Za-z0-9]+") it actually uses my own message so I know it's reading the right resource bundle.

Now I want a new message 
@Pattern(regex="[A-Za-z0-9]+", message="{someErrorMsg}")

this causes an error saying that it cannot find it in the resource bundle.

Any idea anyone?

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

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

More information about the jboss-user mailing list