Do you have included the resource bundle in the resource loader in components.xml?
<core:resource-loader> <core:bundle-names> <value>messages</value> <value>ValidatorMessages</value> </core:bundle-names> </core:resource-loader>
I'm trying to figure out how to make this ValidatorMessages thing work also... is there documentation on it?
I found this page that mentions it:
But I'm not sure what it is or where it is or how to use it. Any help would be appreciated.
Thanks for the tip I missed to include the resource bundle in the resource loader. It's interesting that Seam is trying to resolve the key from registered resource bundles; you are not limited to ValidatorMessages.properties as I was mislead by Hibernate validator documentation. And of course watch out for encoding of yours properties files, it has to be ISO 8859-1 character encoding ;). See details in Properties API.