You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Adam Winer (JIRA)" <de...@myfaces.apache.org> on 2007/06/14 23:36:26 UTC

[jira] Created: (TRINIDAD-63) Support for per-request phase listeners

Support for per-request phase listeners
---------------------------------------

                 Key: TRINIDAD-63
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-63
             Project: MyFaces Trinidad
          Issue Type: New Feature
    Affects Versions: 1.0.1-core, 1.0.2-core
            Reporter: Adam Winer


It'd be handy to get one-shot phase listeners added for a request: this way, if you knew you needed to run some code before Render Response on a given request, you could just call RequestContext.addPhaseListener() and that code would run automatically, without any need to have a global phase listener always registered.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TRINIDAD-63) Support for per-request phase listeners

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf resolved TRINIDAD-63.
----------------------------------------

    Resolution: Invalid

Since JSF 1.2 the UIViewRoot has a addPhaseListener() method

http://java.sun.com/javaee/javaserverfaces/2.0/docs/api/javax/faces/component/UIViewRoot.html#addPhaseListener%28javax.faces.event.PhaseListener%29

> Support for per-request phase listeners
> ---------------------------------------
>
>                 Key: TRINIDAD-63
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-63
>             Project: MyFaces Trinidad
>          Issue Type: New Feature
>    Affects Versions: 1.0.1-core, 1.0.2-core
>            Reporter: Adam Winer
>
> It'd be handy to get one-shot phase listeners added for a request: this way, if you knew you needed to run some code before Render Response on a given request, you could just call RequestContext.addPhaseListener() and that code would run automatically, without any need to have a global phase listener always registered.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.