myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (TRINIDAD-2507) Allow CoreRenderer to take part in broadcast of a FacesEvent
Date Thu, 07 Aug 2014 18:58:12 GMT
Andrew Robinson created TRINIDAD-2507:
-----------------------------------------

             Summary: Allow CoreRenderer to take part in broadcast of a FacesEvent
                 Key: TRINIDAD-2507
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2507
             Project: MyFaces Trinidad
          Issue Type: Improvement
          Components: Components
    Affects Versions: 2.1.1-core
            Reporter: Andrew Robinson
            Assignee: Andrew Robinson


There are times that a renderer (especially during decode) could want a callback during a
later lifecycle. For example, a renderer may want to queue an event and handle that event
itself when broadcast. JSF does not make this easy, keeping all the FacesEvent logic in the
component and making addFacesListener a protected, instead of public, method. 

We can improve this for Trinidad by adding a method to CoreRenderer (public void broadcast(UIXComponent
component, FacesEvent event)) that the UIXComponentBase could call. The default implementation
would be a no-op but could be overwritten to provide the necessary functionality.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message