You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2008/10/16 10:28:55 UTC

svn commit: r705176 - /myfaces/orchestra/trunk/flow/src/main/resources/META-INF/faces-config.xml

Author: skitching
Date: Thu Oct 16 01:28:54 2008
New Revision: 705176

URL: http://svn.apache.org/viewvc?rev=705176&view=rev
Log:
Register phase-listener that tracks what the current JSF phase is. This is needed in FlowHandler to determine whether a navigation is caused by an immediate component.

Modified:
    myfaces/orchestra/trunk/flow/src/main/resources/META-INF/faces-config.xml

Modified: myfaces/orchestra/trunk/flow/src/main/resources/META-INF/faces-config.xml
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/flow/src/main/resources/META-INF/faces-config.xml?rev=705176&r1=705175&r2=705176&view=diff
==============================================================================
--- myfaces/orchestra/trunk/flow/src/main/resources/META-INF/faces-config.xml (original)
+++ myfaces/orchestra/trunk/flow/src/main/resources/META-INF/faces-config.xml Thu Oct 16 01:28:54 2008
@@ -29,8 +29,13 @@
         <navigation-handler>org.apache.myfaces.orchestra.flow.FlowNavigationHandler</navigation-handler>
     </application>
 
+    <lifecycle>
+        <phase-listener>org.apache.myfaces.orchestra.flow.FlowPhaseTracker</phase-listener>
+    </lifecycle>
+
     <component>
         <component-type>org.apache.myfaces.orchestra.flow.components.ModalFlow</component-type>
         <component-class>org.apache.myfaces.orchestra.flow.components.ModalFlow</component-class>
     </component>
+    
 </faces-config>