myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson (JIRA)" <>
Subject [jira] [Commented] (TRINIDAD-2507) Allow CoreRenderer to take part in broadcast of a FacesEvent
Date Mon, 11 Aug 2014 16:16:12 GMT


Andrew Robinson commented on TRINIDAD-2507:

Committed revision 1617320.

> Allow CoreRenderer to take part in broadcast of a FacesEvent
> ------------------------------------------------------------
>                 Key: TRINIDAD-2507
>                 URL:
>             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

View raw message