[richfaces-issues] [JBoss JIRA] Commented: (RF-10954) rich:graphValidator doesn't work with rich:messages globalOnly="true"

Alexander Smirnov (JIRA) jira-events at lists.jboss.org
Thu May 26 15:17:02 EDT 2011


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

Alexander Smirnov commented on RF-10954:
----------------------------------------

rich:graphValidator sends messages with the same Id as validator component clientId. globalOnly flag in "messages" component filters only messages that have no ID, so this behavior is correct.

> rich:graphValidator doesn't work with rich:messages globalOnly="true"
> ---------------------------------------------------------------------
>
>                 Key: RF-10954
>                 URL: https://issues.jboss.org/browse/RF-10954
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-validators
>    Affects Versions: 4.0.0.Final
>            Reporter: Juergen Zimmermann
>            Assignee: Alexander Smirnov
>         Attachments: error.with-globalOnly.jpg, ok.without-globalOnly.jpg
>
>
> The following tags are only working when I omit globalOnly="true". I'll attach 2 screenshots to illustrate the issue.
> <h:form id="createKundeForm">
>   <rich:graphValidator id="kundeValidator" value="#{kv.neuerPrivatkunde}" groups="de.swe2.kundenverwaltung.domain.PasswordGroup">
>   <rich:messages id="fehlermeldungPassword" globalOnly="true" />
>   <p/>
>   <h:panelGrid id="createKundeTabelle" columns="3">
>     <h:outputLabel id="nachnameLabel" for="nachname" value="#{msgKv['createPrivatkunde.nachname']}"/>
>     <h:inputText id="nachname" value="#{kv.neuerPrivatkunde.nachname}">
>       <rich:validator/>
>     </h:inputText>
>     <rich:messages id="fehlermeldungenNachname" for="nachname"/>
>     ...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list