]> git.mxchange.org Git - addressbook-war.git/blobdiff - web/WEB-INF/faces-config.xml
Splitted edit_user_data into 3 new sub actions + added logged-in check:
[addressbook-war.git] / web / WEB-INF / faces-config.xml
index 969fbf47a8b617f494d8f680ab9ae43473a049cc..9bb8d1f8d53117552b59ac6a35902ac0d4b2ae9e 100644 (file)
                        <from-outcome>admin_logout</from-outcome>
                        <to-view-id>/admin/admin_logout.xhtml</to-view-id>
                </navigation-case>
-               <navigation-case>
-                       <from-outcome>login_edit_address</from-outcome>
-                       <to-view-id>/login/login_edit_address.xhtml</to-view-id>
-               </navigation-case>
                <navigation-case>
                        <from-outcome>login_edit_user_data</from-outcome>
                        <to-view-id>/login/login_edit_user_data.xhtml</to-view-id>
                        <to-view-id>/user/show_addressbook.xhtml</to-view-id>
                </navigation-case>
        </navigation-rule>
+    <navigation-rule>
+        <from-view-id>/login/login_edit_user_data.xhtml</from-view-id>
+        <navigation-case>
+            <from-outcome>login_change_email_address</from-outcome>
+            <to-view-id>/login/login_change_email_address.xhtml</to-view-id>
+        </navigation-case>
+        <navigation-case>
+            <from-outcome>login_change_password</from-outcome>
+            <to-view-id>/login/login_change_password.xhtml</to-view-id>
+        </navigation-case>
+        <navigation-case>
+            <from-outcome>login_change_personal_data</from-outcome>
+            <to-view-id>/login/login_change_personal_data.xhtml</to-view-id>
+        </navigation-case>
+    </navigation-rule>
 </faces-config>