[
https://issues.apache.org/jira/browse/TRINIDAD-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14092937#comment-14092937
]
Andrew Robinson commented on TRINIDAD-2507:
-------------------------------------------
Committed revision 1617320.
> 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
> Fix For: 2.1.1-core
>
>
> 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)