[richfaces-issues] [JBoss JIRA] Commented: (RF-8243) BeanValidator - localized error messages
Stephan Bublava (JIRA)
jira-events at lists.jboss.org
Mon Jan 11 03:19:30 EST 2010
[ https://jira.jboss.org/jira/browse/RF-8243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12503251#action_12503251 ]
Stephan Bublava commented on RF-8243:
-------------------------------------
Mojarra doesn't use the application resource bundle either, so the first point is probably moot. The exception during message interpolation should still be fixed (IMHO).
> 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