[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2894) In the SeamPhaseListener raise an event for the jsf RESTORE_VIEW phase after initializing the seam contexts

pieter martin (JIRA) jira-events at lists.jboss.org
Mon Apr 14 15:26:54 EDT 2008


In the SeamPhaseListener raise an event for the jsf RESTORE_VIEW phase after initializing the seam contexts
-----------------------------------------------------------------------------------------------------------

                 Key: JBSEAM-2894
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2894
             Project: Seam
          Issue Type: Feature Request
          Components: Core
    Affects Versions: 2.1.0.A1
         Environment: linux jboss
            Reporter: pieter martin


Currently the "org.jboss.seam.afterPhase" event is raised before the seam contexts are initialized which means that seam components can not observe the event.
I.e.
In SeamPhaseListerner

public void afterPhase(PhaseEvent event)
   {
      log.trace( "after phase: " + event.getPhaseId() );
      
      try
      {
         raiseEventsAfterPhase(event);
         if ( isPortletRequest(event) )
         {
            afterPortletPhase(event);
         }
         else
         {
            //The seam contexts get init here
            afterServletPhase(event);
         }
         //RAISE ANOTHER EVENT HERE
         raiseEventsAfterPhaseAfterInitContext(event);
      }
      catch (Exception e)
      .....

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

        



More information about the seam-issues mailing list