[seam-commits] Seam SVN: r9442 - branches/enterprise/JBPAPP_4_3_FP01/examples/spring/resources/WEB-INF.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Oct 27 11:16:43 EDT 2008


Author: manaRH
Date: 2008-10-27 11:16:42 -0400 (Mon, 27 Oct 2008)
New Revision: 9442

Modified:
   branches/enterprise/JBPAPP_4_3_FP01/examples/spring/resources/WEB-INF/pages.xml
Log:
JBPAPP-1295

Modified: branches/enterprise/JBPAPP_4_3_FP01/examples/spring/resources/WEB-INF/pages.xml
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/examples/spring/resources/WEB-INF/pages.xml	2008-10-27 15:14:11 UTC (rev 9441)
+++ branches/enterprise/JBPAPP_4_3_FP01/examples/spring/resources/WEB-INF/pages.xml	2008-10-27 15:16:42 UTC (rev 9442)
@@ -29,13 +29,13 @@
     </page>
     
     <page view-id="/password.xhtml">
-    
-        <navigation>
-            <rule if="#{changePassword.changed}">
-                <redirect view-id="/main.xhtml"/>
+        <action execute="#{login.validateLogin}"/>
+        
+        <navigation from-action="#{login.validateLogin}">
+            <rule if="#{not login.loggedIn}">
+                <redirect view-id="/home.xhtml"/>
             </rule>
-        </navigation>
-        
+        </navigation>    
     </page>
 
     <page view-id="/main.xhtml">




More information about the seam-commits mailing list