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

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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to