Gerald Turner created RF-12047:
----------------------------------

             Summary: Add "global" attribute to graphValidator
                 Key: RF-12047
                 URL: https://issues.jboss.org/browse/RF-12047
             Project: RichFaces
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: component-validators
    Affects Versions: 4.2.0.Final
            Reporter: Gerald Turner
            Priority: Trivial


graphValidator appends FacesMessages to the FacesContext with clientId set to 
the clientId of the graphValidator component, naturally, however I have a 
use-case for not assigning a clientId to those FacesMessages at all (null, 
global messages).

The following example exhibits how graphValidator currently works:

        <rich:messages for="gv"/>
        <rich:graphValidator id="gv" .../>

What I'm asking for is the following:

        <p:messages globalOnly="true"/>
        <rich:graphValidator id="gv" global="true" .../>

(Conversely I could wishlist PrimeFaces to add a 'for' attribute to their 
'messages' component, something like 'for="@global gv"', so no harm in closing 
this report ;-)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to