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

Alexander Smirnov (JIRA) jira-events at lists.jboss.org
Tue Jan 19 20:09:54 EST 2010


     [ https://jira.jboss.org/jira/browse/RF-8243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Smirnov resolved RF-8243.
-----------------------------------

    Resolution: Done


Exception from the message formater has been supressed.

> 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
>            Assignee: Alexander Smirnov
>
> 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