[richfaces-issues] [JBoss JIRA] (RF-12754) rich:validator message cannot be customized when using bean validation (via javax.faces.validator.BeanValidator.MESSAGE property)

Nejc G (JIRA) jira-events at lists.jboss.org
Thu Jan 24 07:28:47 EST 2013


Nejc G created RF-12754:
---------------------------

             Summary: rich:validator message cannot be customized when using bean validation (via javax.faces.validator.BeanValidator.MESSAGE property)
                 Key: RF-12754
                 URL: https://issues.jboss.org/browse/RF-12754
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-validators
    Affects Versions: 4.3.0.CR1
         Environment: Glassfish 3.1.2.2, jdk7u9
            Reporter: Nejc G


rich:validator clientside validation is ignoring javax.faces.validator.BeanValidator.MESSAGE property for messages. Standard validation without rich:validator works fine. Problem is there is no way to customize error (show label) hence making bean validation using this path nearly useless.

I have the aforementioned property in a property file, configured to be used through locale-config line in faces-config.xml. The line reads:
javax.faces.validator.BeanValidator.MESSAGE={1}: {0}
and as mentioned rich:validator only outputs {0} (that is msg from bean validation). Seems to me it doesn't behave as configured.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list