myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <>
Subject [jira] [Resolved] (MYFACES-3289) Allow f:event listener="#{cc.preRenderViewCallback}" work
Date Fri, 19 Aug 2011 19:08:27 GMT


Leonardo Uribe resolved MYFACES-3289.

       Resolution: Fixed
    Fix Version/s: 2.1.2

> Allow f:event listener="#{cc.preRenderViewCallback}" work
> ---------------------------------------------------------
>                 Key: MYFACES-3289
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.8, 2.1.2
> This is one of the "most wanted" hacks to do. Long time ago I tried it without success,
but now I finally founded and alternative. Following the same principle of MYFACES-3287, we
can use a "find component expression" to locate the composite component later and setup the
environment correctly. As with MYFACES-3287 if the component is inside a datatable, the code
on the listener will only execute once, and not per row, which is something expected and the
affected properties on the component has the same limitations. 
> The other part of the hack include use a listener to PostAddToViewEvent to subscribe
the listener after the tree is built, so we can calculate the "find component expression"

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message