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

Pavol Pitonak (JIRA) jira-events at lists.jboss.org
Mon Jan 28 09:53:47 EST 2013


    [ https://issues.jboss.org/browse/RF-12754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12750794#comment-12750794 ] 

Pavol Pitonak commented on RF-12754:
------------------------------------

Hi [~neikius], could you please provide a sample?
                
> 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
>            Assignee: Pavol Pitonak
>
> 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