phase listener method annotations --------------------------------- Key: EXTCDI-11 URL: https://issues.apache.org/jira/browse/EXTCDI-11 Project: MyFaces CODI Issue Type: New Feature Reporter: Gerhard Petracek
based on the event system of cdi it should be possible to implement observers for lifecycle events. e.g.: public void preRenderView1(@Observes @BeforePhase(PhaseId.RENDER_RESPONSE) PhaseEvent event){} in combination with the @View annotation it should be possible to restrict one phase listener methods (or all phase listener methods within a class) to a given view-id. e.g.: @View("/helloMyFacesCodi.jsp") public void preRenderView2(@Observes @BeforePhase(PhaseId.INVOKE_APPLICATION) PhaseEvent event) {} or @View({"/page1.xhtml", "/page3.xhtml"}) public class HelloCodiBean { //... } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.