[richfaces-issues] [JBoss JIRA] (RF-12922) rich:validator: only first message from multiple validation will appear

Jiří Štefek (JIRA) jira-events at lists.jboss.org
Wed Jun 12 02:22:55 EDT 2013


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

Jiří Štefek edited comment on RF-12922 at 6/12/13 2:22 AM:
-----------------------------------------------------------

Yes, I tried it again and all messages (for all failing validation rules) are displayed (see the last sentence in my previous comment).

IMHO there is a bug in JavaScript which stops validation at first failing rule and skips next validations.
                
      was (Author: jstefek):
    Yes, I tried it again and all messages are displayed (see the last sentence in my previous comment).

IMHO there is a bug in JavaScript which stops validation at first failing rule and skips next validations.
                  
> rich:validator: only first message from multiple validation will appear
> -----------------------------------------------------------------------
>
>                 Key: RF-12922
>                 URL: https://issues.jboss.org/browse/RF-12922
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-validators
>         Environment: RichFaces 4.3.2-SNAPSHOT
> Metamer 5.0.0-SNAPSHOT
> JBoss AS 7.1.1.Final
> Java(TM) SE Runtime Environment 1.7.0_09-b05 @ Linux
> Firefox 18.0 @ Linux x86_64 
>            Reporter: Jiří Štefek
>            Assignee: Brian Leathem
>
> When an input is validated by e.g. 2 rules and the value put in it does not pass both validations, only one message is displayed to the client.
> Is it intention?
> Message components: rich:messages and rich:notifyMessages

--
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