[richfaces-issues] [JBoss JIRA] Created: (RF-8243) BeanValidator - localized error messages

Stephan Bublava (JIRA) jira-events at lists.jboss.org
Thu Jan 7 12:11:30 EST 2010


BeanValidator - localized error messages
----------------------------------------

                 Key: RF-8243
                 URL: https://jira.jboss.org/jira/browse/RF-8243
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component
    Affects Versions: 3.3.3.BETA1
            Reporter: Stephan Bublava


I'm using rich:validateGraph with Hibernate Validator 4.0.2.

Message interpolation defers to Hibernate Validator and therefore only picks up translations from the default resource bundle (ValidationMessages.properties). It should use the resource bundle registered with JSF first.

If no translation is available (e.g. because of a custom constraint validator), then the original key with curly braces will be passed to MessageFormat (FacesBeanValidator.java, line 114) and cause an exception. Displaying error messages should never throw ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list