You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Craig McClanahan (JIRA)" <ji...@apache.org> on 2006/07/01 00:29:16 UTC

[jira] Resolved: (SHALE-197) Allow PhaseListeners to be defined with Annotations

     [ http://issues.apache.org/struts/browse/SHALE-197?page=all ]
     
Craig McClanahan resolved SHALE-197:
------------------------------------

    Fix Version: 1.0.3
     Resolution: Fixed

Fixed in nightly build 20060701 (and in the 1.0.3-SNAPSHOT that will be pushed tonight).  Use the new @FacesPhaseListener annotation to declare your listener class (which may, but need not, actually implement PhaseListener).  If it does not, you can declare your own handler methods with the @BeforePhase and @AfterPhase annotations -- both of which must mark a public void method that takes a PhaseEvent.



> Allow PhaseListeners to be defined with Annotations
> ---------------------------------------------------
>
>          Key: SHALE-197
>          URL: http://issues.apache.org/struts/browse/SHALE-197
>      Project: Shale
>         Type: New Feature

>   Components: Tiger
>     Versions: 1.0.3
>     Reporter: Adam Brod
>     Assignee: Craig McClanahan
>      Fix For: 1.0.3

>
> Now that I can configure components and managed beans with annotations, I'm hooked.  It would be great if we could also configure PhaseListeners with annotations.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira