]> git.mxchange.org Git - addressbook-war.git/blobdiff - web/WEB-INF/faces-config.xml
no shortening
[addressbook-war.git] / web / WEB-INF / faces-config.xml
index f7aa45233bd0a33cf3825d583f977e2c26352449..e4a0b39911d463a3b71c23359a3fd61cec43cdb6 100644 (file)
@@ -5,7 +5,7 @@
                          xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd">
        <application>
                <locale-config>
-                       <default-locale>de</default-locale>
+                       <default-locale>de_DE</default-locale>
                        <supported-locale>en_US</supported-locale>
                </locale-config>
        </application>
        </validator>
        <validator>
                <validator-id>UserIdValidator</validator-id>
-               <validator-class>org.mxchange.jusercore.model.user.UserIdValidator</validator-class>
+               <validator-class>org.mxchange.addressbook.validator.user.UserIdValidator</validator-class>
+       </validator>
+       <validator>
+               <validator-id>AddressbookUserPasswordValidator</validator-id>
+               <validator-class>org.mxchange.addressbook.validators.password.AddressbookUserPasswordValidator</validator-class>
        </validator>
        <navigation-rule>
                <from-view-id>*</from-view-id>
                </navigation-case>
                <navigation-case>
                        <from-outcome>logout</from-outcome>
-                       <to-view-id>/bye.xhtml</to-view-id>
+                       <to-view-id>/logout.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
                        <from-outcome>admin_index</from-outcome>
-                       <to-view-id>/admin/admin_index.xhtml</to-view-id>
+                       <to-view-id>/admin/index.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
                        <from-outcome>login_index</from-outcome>
                        <to-view-id>/login/login_own_addressbooks.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>login_other_addressbooks</from-outcome>
-                       <to-view-id>/login/login_other_addressbooks.xhtml</to-view-id>
+                       <from-outcome>basket</from-outcome>
+                       <to-view-id>/basket.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>login_user_list</from-outcome>
-                       <to-view-id>/login/login_user_list.xhtml</to-view-id>
+                       <from-outcome>item_not_changed</from-outcome>
+                       <to-view-id>/errorHandler.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>admin_logout</from-outcome>
-                       <to-view-id>/admin/admin_logout.xhtml</to-view-id>
+                       <from-outcome>admin_delete_user</from-outcome>
+                       <to-view-id>/admin/admin_user_delete.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>
+                       <from-outcome>admin_list_user</from-outcome>
+                       <to-view-id>/admin/admin_user_list.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>
+                       <from-outcome>admin_edit_user</from-outcome>
+                       <to-view-id>/admin/admin_user_edit.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>login_shared_addressbooks</from-outcome>
-                       <to-view-id>/login/login_shared_addressbooks.xhtml</to-view-id>
+                       <from-outcome>admin_unlock_user</from-outcome>
+                       <to-view-id>/admin/admin_user_unlock.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>user_profile</from-outcome>
-                       <to-view-id>/user/user_profile.xhtml</to-view-id>
+                       <from-outcome>admin_add_user</from-outcome>
+                       <to-view-id>/admin/admin_user_add.xhtml</to-view-id>
                </navigation-case>
        </navigation-rule>
        <navigation-rule>
                        <to-view-id>/login/login_add_addressbook.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>login_show_addressbook</from-outcome>
-                       <to-view-id>/login/login_show_addressbook.xhtml</to-view-id>
+                       <from-outcome>user_show_addressbook</from-outcome>
+                       <to-view-id>/user/show_addressbook.xhtml</to-view-id>
                </navigation-case>
                <navigation-case>
-                       <from-outcome>login_show_addressbook_entries</from-outcome>
-                       <to-view-id>/login/login_show_addressbook_entries.xhtml</to-view-id>
+                       <from-outcome>show_addressbook_entries</from-outcome>
+                       <to-view-id>/user/show_addressbook_entries.xhtml</to-view-id>
                </navigation-case>
        </navigation-rule>
        <navigation-rule>
-               <from-view-id>/login/login_user_list.xhtml</from-view-id>
+               <from-view-id>/user/user_list.xhtml</from-view-id>
                <navigation-case>
                        <from-outcome>login_list_sharing_addressbooks</from-outcome>
-                       <to-view-id>/login/login_shared_addressbooks.xhtml</to-view-id>
+                       <to-view-id>/login/login_list_sharing_addressbooks.xhtml</to-view-id>
+               </navigation-case>
+       </navigation-rule>
+       <navigation-rule>
+               <from-view-id>/user/show_addressbook.xhtml</from-view-id>
+               <navigation-case>
+                       <from-outcome>login_start_sharing_addressbook</from-outcome>
+                       <to-view-id>/login/login_start_sharing_addressbook.xhtml</to-view-id>
+               </navigation-case>
+       </navigation-rule>
+       <navigation-rule>
+               <from-view-id>/login/login_shared_addressbooks.xhtml</from-view-id>
+               <navigation-case>
+                       <from-outcome>user_show_addressbook</from-outcome>
+                       <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>
+       <navigation-rule>
+               <from-view-id>/login/login_change_password.xhtml</from-view-id>
+               <navigation-case>
+                       <from-outcome>login_data_saved</from-outcome>
+                       <to-view-id>/login/login_data_saved.xhtml</to-view-id>
+               </navigation-case>
+       </navigation-rule>
+       <navigation-rule>
+               <from-view-id>/login/login_change_email_address.xhtml</from-view-id>
+               <navigation-case>
+                       <from-outcome>login_data_saved</from-outcome>
+                       <to-view-id>/login/login_data_saved.xhtml</to-view-id>
+               </navigation-case>
+       </navigation-rule>
+       <navigation-rule>
+               <from-view-id>/login/login_change_personal_data.xhtml</from-view-id>
+               <navigation-case>
+                       <from-outcome>login_data_saved</from-outcome>
+                       <to-view-id>/login/login_data_saved.xhtml</to-view-id>
                </navigation-case>
        </navigation-rule>
 </faces-config>