]> git.mxchange.org Git - addressbook-war.git/blob - web/WEB-INF/faces-config.xml
added user_profile.xhtml and login_shared_addressbooks.xhtml + their i18n strings
[addressbook-war.git] / web / WEB-INF / faces-config.xml
1 <?xml version='1.0' encoding='UTF-8'?>
2 <faces-config version="2.2"
3                           xmlns="http://xmlns.jcp.org/xml/ns/javaee"
4                           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5                           xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd">
6         <application>
7                 <locale-config>
8                         <default-locale>de</default-locale>
9                         <supported-locale>en_US</supported-locale>
10                 </locale-config>
11         </application>
12         <validator>
13                 <validator-id>PrivacyTermsCheckboxValidator</validator-id>
14                 <validator-class>org.mxchange.jcoreee.validator.bool.privacy_terms.PrivacyTermsCheckboxValidator</validator-class>
15         </validator>
16         <validator>
17                 <validator-id>NameValidator</validator-id>
18                 <validator-class>org.mxchange.jcoreee.validator.string.names.NameValidator</validator-class>
19         </validator>
20         <validator>
21                 <validator-id>AddressbookNameValidator</validator-id>
22                 <validator-class>org.mxchange.addressbook.validator.names.AddressbookNameValidator</validator-class>
23         </validator>
24         <validator>
25                 <validator-id>PhoneNumberValidator</validator-id>
26                 <validator-class>org.mxchange.jphone.validators.PhoneNumberValidator</validator-class>
27         </validator>
28         <validator>
29                 <validator-id>AddressbookIdValidator</validator-id>
30                 <validator-class>org.mxchange.addressbook.validator.addressbook.AddressbookIdValidator</validator-class>
31         </validator>
32         <validator>
33                 <validator-id>UserProfileVisibilityValidator</validator-id>
34                 <validator-class>org.mxchange.addressbook.validator.booleans.UserProfileVisibilityValidator</validator-class>
35         </validator>
36         <navigation-rule>
37                 <from-view-id>*</from-view-id>
38                 <navigation-case>
39                         <from-outcome>index</from-outcome>
40                         <to-view-id>/index.xhtml</to-view-id>
41                 </navigation-case>
42                 <navigation-case>
43                         <from-outcome>user_register</from-outcome>
44                         <to-view-id>/user/register.xhtml</to-view-id>
45                 </navigation-case>
46                 <navigation-case>
47                         <from-outcome>user_login</from-outcome>
48                         <to-view-id>/user/login.xhtml</to-view-id>
49                 </navigation-case>
50                 <navigation-case>
51                         <from-outcome>user_lost_passwd</from-outcome>
52                         <to-view-id>/user/lost_passwd.xhtml</to-view-id>
53                 </navigation-case>
54                 <navigation-case>
55                         <from-outcome>terms</from-outcome>
56                         <to-view-id>/terms.xhtml</to-view-id>
57                 </navigation-case>
58                 <navigation-case>
59                         <from-outcome>privacy</from-outcome>
60                         <to-view-id>/privacy.xhtml</to-view-id>
61                 </navigation-case>
62                 <navigation-case>
63                         <from-outcome>imprint</from-outcome>
64                         <to-view-id>/imprint.xhtml</to-view-id>
65                 </navigation-case>
66                 <navigation-case>
67                         <from-outcome>logout</from-outcome>
68                         <to-view-id>/bye.xhtml</to-view-id>
69                 </navigation-case>
70                 <navigation-case>
71                         <from-outcome>admin_index</from-outcome>
72                         <to-view-id>/admin/admin_index.xhtml</to-view-id>
73                 </navigation-case>
74                 <navigation-case>
75                         <from-outcome>login_index</from-outcome>
76                         <to-view-id>/login/login_index.xhtml</to-view-id>
77                 </navigation-case>
78                 <navigation-case>
79                         <from-outcome>user_resend_link</from-outcome>
80                         <to-view-id>/user/resend_link.xhtml</to-view-id>
81                 </navigation-case>
82                 <navigation-case>
83                         <from-outcome>login_own_addressbooks</from-outcome>
84                         <to-view-id>/login/login_own_addressbooks.xhtml</to-view-id>
85                 </navigation-case>
86                 <navigation-case>
87                         <from-outcome>login_other_addressbooks</from-outcome>
88                         <to-view-id>/login/login_other_addressbooks.xhtml</to-view-id>
89                 </navigation-case>
90                 <navigation-case>
91                         <from-outcome>login_user_list</from-outcome>
92                         <to-view-id>/login/login_user_list.xhtml</to-view-id>
93                 </navigation-case>
94                 <navigation-case>
95                         <from-outcome>admin_logout</from-outcome>
96                         <to-view-id>/admin/admin_logout.xhtml</to-view-id>
97                 </navigation-case>
98                 <navigation-case>
99                         <from-outcome>login_edit_address</from-outcome>
100                         <to-view-id>/login/login_edit_address.xhtml</to-view-id>
101                 </navigation-case>
102                 <navigation-case>
103                         <from-outcome>login_edit_user_data</from-outcome>
104                         <to-view-id>/login/login_edit_user_data.xhtml</to-view-id>
105                 </navigation-case>
106                 <navigation-case>
107                         <from-outcome>login_shared_addressbooks</from-outcome>
108                         <to-view-id>/login/login_shared_addressbooks.xhtml</to-view-id>
109                 </navigation-case>
110                 <navigation-case>
111                         <from-outcome>user_profile</from-outcome>
112                         <to-view-id>/user/user_profile.xhtml</to-view-id>
113                 </navigation-case>
114         </navigation-rule>
115         <navigation-rule>
116                 <from-view-id>/user/login.xhtml</from-view-id>
117                 <navigation-case>
118                         <from-outcome>login</from-outcome>
119                         <to-view-id>/login/login_index.xhtml</to-view-id>
120                 </navigation-case>
121         </navigation-rule>
122         <navigation-rule>
123                 <from-view-id>/user/register.xhtml</from-view-id>
124                 <navigation-case>
125                         <from-outcome>register_done</from-outcome>
126                         <to-view-id>/user/register_done.xhtml</to-view-id>
127                 </navigation-case>
128         </navigation-rule>
129         <navigation-rule>
130                 <from-view-id>/admin/admin_logout.xhtml</from-view-id>
131                 <navigation-case>
132                         <from-outcome>index</from-outcome>
133                         <to-view-id>/index.xhtml</to-view-id>
134                 </navigation-case>
135         </navigation-rule>
136         <navigation-rule>
137                 <from-view-id>/login/login_own_addressbooks.xhtml</from-view-id>
138                 <navigation-case>
139                         <from-outcome>login_add_addressbook</from-outcome>
140                         <to-view-id>/login/login_add_addressbook.xhtml</to-view-id>
141                 </navigation-case>
142                 <navigation-case>
143                         <from-outcome>login_show_addressbook</from-outcome>
144                         <to-view-id>/login/login_show_addressbook.xhtml</to-view-id>
145                 </navigation-case>
146                 <navigation-case>
147                         <from-outcome>login_show_addressbook_entries</from-outcome>
148                         <to-view-id>/login/login_show_addressbook_entries.xhtml</to-view-id>
149                 </navigation-case>
150         </navigation-rule>
151         <navigation-rule>
152                 <from-view-id>/login/login_user_list.xhtml</from-view-id>
153                 <navigation-case>
154                         <from-outcome>login_list_sharing_addressbooks</from-outcome>
155                         <to-view-id>/login/login_shared_addressbooks.xhtml</to-view-id>
156                 </navigation-case>
157         </navigation-rule>
158 </faces-config>