]> git.mxchange.org Git - addressbook-war.git/blob - web/WEB-INF/faces-config.xml
11b8c85ed19314507f54ba4a3997ddac7bb50d71
[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_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         <validator>
37                 <validator-id>UserIdValidator</validator-id>
38                 <validator-class>org.mxchange.addressbook.validator.user.UserIdValidator</validator-class>
39         </validator>
40         <validator>
41                 <validator-id>AddressbookUserPasswordValidator</validator-id>
42                 <validator-class>org.mxchange.addressbook.validators.password.AddressbookUserPasswordValidator</validator-class>
43         </validator>
44         <navigation-rule>
45                 <from-view-id>*</from-view-id>
46                 <navigation-case>
47                         <from-outcome>index</from-outcome>
48                         <to-view-id>/index.xhtml</to-view-id>
49                 </navigation-case>
50                 <navigation-case>
51                         <from-outcome>user_register</from-outcome>
52                         <to-view-id>/user/register.xhtml</to-view-id>
53                 </navigation-case>
54                 <navigation-case>
55                         <from-outcome>user_login</from-outcome>
56                         <to-view-id>/user/login.xhtml</to-view-id>
57                 </navigation-case>
58                 <navigation-case>
59                         <from-outcome>user_lost_passwd</from-outcome>
60                         <to-view-id>/user/lost_passwd.xhtml</to-view-id>
61                 </navigation-case>
62                 <navigation-case>
63                         <from-outcome>terms</from-outcome>
64                         <to-view-id>/terms.xhtml</to-view-id>
65                 </navigation-case>
66                 <navigation-case>
67                         <from-outcome>privacy</from-outcome>
68                         <to-view-id>/privacy.xhtml</to-view-id>
69                 </navigation-case>
70                 <navigation-case>
71                         <from-outcome>imprint</from-outcome>
72                         <to-view-id>/imprint.xhtml</to-view-id>
73                 </navigation-case>
74                 <navigation-case>
75                         <from-outcome>logout</from-outcome>
76                         <to-view-id>/logout.xhtml</to-view-id>
77                 </navigation-case>
78                 <navigation-case>
79                         <from-outcome>admin_index</from-outcome>
80                         <to-view-id>/admin/index.xhtml</to-view-id>
81                 </navigation-case>
82                 <navigation-case>
83                         <from-outcome>login_index</from-outcome>
84                         <to-view-id>/login/login_index.xhtml</to-view-id>
85                 </navigation-case>
86                 <navigation-case>
87                         <from-outcome>user_resend_link</from-outcome>
88                         <to-view-id>/user/resend_link.xhtml</to-view-id>
89                 </navigation-case>
90                 <navigation-case>
91                         <from-outcome>login_own_addressbooks</from-outcome>
92                         <to-view-id>/login/login_own_addressbooks.xhtml</to-view-id>
93                 </navigation-case>
94                 <navigation-case>
95                         <from-outcome>basket</from-outcome>
96                         <to-view-id>/basket.xhtml</to-view-id>
97                 </navigation-case>
98                 <navigation-case>
99                         <from-outcome>exception</from-outcome>
100                         <to-view-id>/exception.xhtml</to-view-id>
101                 </navigation-case>
102                 <navigation-case>
103                         <from-outcome>admin_list_user</from-outcome>
104                         <to-view-id>/admin/admin_user_list.xhtml</to-view-id>
105                 </navigation-case>
106                 <navigation-case>
107                         <from-outcome>admin_list_countries</from-outcome>
108                         <to-view-id>/admin/admin_country_list.xhtml</to-view-id>
109                 </navigation-case>
110                 <navigation-case>
111                         <from-outcome>admin_list_mobile_provider</from-outcome>
112                         <to-view-id>/admin/admin_mobile_provider_list.xhtml</to-view-id>
113                 </navigation-case>
114                 <navigation-case>
115                         <from-outcome>admin_list_contact_cellphone</from-outcome>
116                         <to-view-id>/admin/admin_contact_cellphone_list.xhtml</to-view-id>
117                 </navigation-case>
118         </navigation-rule>
119         <navigation-rule>
120                 <from-view-id>/user/login.xhtml</from-view-id>
121                 <navigation-case>
122                         <from-outcome>login</from-outcome>
123                         <to-view-id>/login/login_index.xhtml</to-view-id>
124                 </navigation-case>
125         </navigation-rule>
126         <navigation-rule>
127                 <from-view-id>/user/register.xhtml</from-view-id>
128                 <navigation-case>
129                         <from-outcome>register_done</from-outcome>
130                         <to-view-id>/user/register_done.xhtml</to-view-id>
131                 </navigation-case>
132         </navigation-rule>
133         <navigation-rule>
134                 <from-view-id>/admin/admin_logout.xhtml</from-view-id>
135                 <navigation-case>
136                         <from-outcome>index</from-outcome>
137                         <to-view-id>/index.xhtml</to-view-id>
138                 </navigation-case>
139         </navigation-rule>
140         <navigation-rule>
141                 <from-view-id>/login/login_own_addressbooks.xhtml</from-view-id>
142                 <navigation-case>
143                         <from-outcome>login_add_addressbook</from-outcome>
144                         <to-view-id>/login/login_add_addressbook.xhtml</to-view-id>
145                 </navigation-case>
146                 <navigation-case>
147                         <from-outcome>user_show_addressbook</from-outcome>
148                         <to-view-id>/user/show_addressbook.xhtml</to-view-id>
149                 </navigation-case>
150                 <navigation-case>
151                         <from-outcome>show_addressbook_entries</from-outcome>
152                         <to-view-id>/user/show_addressbook_entries.xhtml</to-view-id>
153                 </navigation-case>
154         </navigation-rule>
155         <navigation-rule>
156                 <from-view-id>/user/user_list.xhtml</from-view-id>
157                 <navigation-case>
158                         <from-outcome>login_list_sharing_addressbooks</from-outcome>
159                         <to-view-id>/login/login_list_sharing_addressbooks.xhtml</to-view-id>
160                 </navigation-case>
161         </navigation-rule>
162         <navigation-rule>
163                 <from-view-id>/user/show_addressbook.xhtml</from-view-id>
164                 <navigation-case>
165                         <from-outcome>login_start_sharing_addressbook</from-outcome>
166                         <to-view-id>/login/login_start_sharing_addressbook.xhtml</to-view-id>
167                 </navigation-case>
168         </navigation-rule>
169         <navigation-rule>
170                 <from-view-id>/login/login_shared_addressbooks.xhtml</from-view-id>
171                 <navigation-case>
172                         <from-outcome>user_show_addressbook</from-outcome>
173                         <to-view-id>/user/show_addressbook.xhtml</to-view-id>
174                 </navigation-case>
175         </navigation-rule>
176         <navigation-rule>
177                 <from-view-id>/login/login_edit_user_data.xhtml</from-view-id>
178                 <navigation-case>
179                         <from-outcome>login_change_email_address</from-outcome>
180                         <to-view-id>/login/login_change_email_address.xhtml</to-view-id>
181                 </navigation-case>
182                 <navigation-case>
183                         <from-outcome>login_change_password</from-outcome>
184                         <to-view-id>/login/login_change_password.xhtml</to-view-id>
185                 </navigation-case>
186                 <navigation-case>
187                         <from-outcome>login_change_personal_data</from-outcome>
188                         <to-view-id>/login/login_change_personal_data.xhtml</to-view-id>
189                 </navigation-case>
190         </navigation-rule>
191         <navigation-rule>
192                 <from-view-id>/login/login_change_password.xhtml</from-view-id>
193                 <navigation-case>
194                         <from-outcome>login_data_saved</from-outcome>
195                         <to-view-id>/login/login_data_saved.xhtml</to-view-id>
196                 </navigation-case>
197         </navigation-rule>
198         <navigation-rule>
199                 <from-view-id>/login/login_change_email_address.xhtml</from-view-id>
200                 <navigation-case>
201                         <from-outcome>login_data_saved</from-outcome>
202                         <to-view-id>/login/login_data_saved.xhtml</to-view-id>
203                 </navigation-case>
204                 <navigation-case>
205                         <from-outcome>admin_delete_product</from-outcome>
206                         <to-view-id>/admin/admin_product_delete.xhtml</to-view-id>
207                 </navigation-case>
208         </navigation-rule>
209         <navigation-rule>
210                 <from-view-id>/login/login_change_personal_data.xhtml</from-view-id>
211                 <navigation-case>
212                         <from-outcome>login_data_saved</from-outcome>
213                         <to-view-id>/login/login_data_saved.xhtml</to-view-id>
214                 </navigation-case>
215                 <navigation-case>
216                         <from-outcome>admin_delete_category</from-outcome>
217                         <to-view-id>/admin/admin_category_delete.xhtml</to-view-id>
218                 </navigation-case>
219         </navigation-rule>
220         <navigation-rule>
221                 <from-view-id>/admin/admin_country_list.xhtml</from-view-id>
222                 <navigation-case>
223                         <from-outcome>admin_edit_country</from-outcome>
224                         <to-view-id>/admin/admin_country_edit.xhtml</to-view-id>
225                 </navigation-case>
226                 <navigation-case>
227                         <from-outcome>admin_delete_country</from-outcome>
228                         <to-view-id>/admin/admin_country_delete.xhtml</to-view-id>
229                 </navigation-case>
230         </navigation-rule>
231         <navigation-rule>
232                 <from-view-id>/admin/admin_mobile_provider_list.xhtml</from-view-id>
233                 <navigation-case>
234                         <from-outcome>admin_edit_mobile_provider</from-outcome>
235                         <to-view-id>/admin/admin_mobile_provider_edit.xhtml</to-view-id>
236                 </navigation-case>
237                 <navigation-case>
238                         <from-outcome>admin_delete_mobile_provider</from-outcome>
239                         <to-view-id>/admin/admin_mobile_provider_delete.xhtml</to-view-id>
240                 </navigation-case>
241                 <navigation-case>
242                         <from-outcome>admin_show_mobile_provider</from-outcome>
243                         <to-view-id>/admin/admin_mobile_provider_show.xhtml</to-view-id>
244                 </navigation-case>
245         </navigation-rule>
246         <navigation-rule>
247                 <from-view-id>/admin/admin_user_list.xhtml</from-view-id>
248                 <navigation-case>
249                         <from-outcome>admin_show_user</from-outcome>
250                         <to-view-id>/admin/admin_user_show.xhtml</to-view-id>
251                 </navigation-case>
252                 <navigation-case>
253                         <from-outcome>admin_edit_user</from-outcome>
254                         <to-view-id>/admin/admin_user_edit.xhtml</to-view-id>
255                 </navigation-case>
256                 <navigation-case>
257                         <from-outcome>admin_delete_user</from-outcome>
258                         <to-view-id>/admin/admin_user_delete.xhtml</to-view-id>
259                 </navigation-case>
260                 <navigation-case>
261                         <from-outcome>admin_unlock_user</from-outcome>
262                         <to-view-id>/admin/admin_user_unlock.xhtml</to-view-id>
263                 </navigation-case>
264         </navigation-rule>
265         <navigation-rule>
266                 <from-view-id>/admin/admin_user_show.xhtml</from-view-id>
267                 <navigation-case>
268                         <from-outcome>admin_show_contact_cellphone</from-outcome>
269                         <to-view-id>/admin/admin_contact_cellphone_show.xhtml</to-view-id>
270                 </navigation-case>
271                 <navigation-case>
272                         <from-outcome>admin_edit_contact_cellphone</from-outcome>
273                         <to-view-id>/admin/admin_contact_cellphone_edit.xhtml</to-view-id>
274                 </navigation-case>
275                 <navigation-case>
276                         <from-outcome>admin_unlink_contact_cellphone</from-outcome>
277                         <to-view-id>/admin/admin_contact_cellphone_unlink.xhtml</to-view-id>
278                 </navigation-case>
279                 <navigation-case>
280                         <from-outcome>admin_delete_contact_cellphone</from-outcome>
281                         <to-view-id>/admin/admin_contact_cellphone_delete.xhtml</to-view-id>
282                 </navigation-case>
283                 <navigation-case>
284                         <from-outcome>admin_edit_user</from-outcome>
285                         <to-view-id>/admin/admin_user_edit.xhtml</to-view-id>
286                 </navigation-case>
287                 <navigation-case>
288                         <from-outcome>admin_delete_user</from-outcome>
289                         <to-view-id>/admin/admin_user_delete.xhtml</to-view-id>
290                 </navigation-case>
291                 <navigation-case>
292                         <from-outcome>admin_unlock_user</from-outcome>
293                         <to-view-id>/admin/admin_user_unlock.xhtml</to-view-id>
294                 </navigation-case>
295                 <navigation-case>
296                         <from-outcome>admin_show_mobile_provider</from-outcome>
297                         <to-view-id>/admin/admin_mobile_provider_show.xhtml</to-view-id>
298                 </navigation-case>
299         </navigation-rule>
300         <navigation-rule>
301                 <from-view-id>/admin/admin_contact_cellphone_list.xhtml</from-view-id>
302                 <navigation-case>
303                         <from-outcome>admin_show_contact_cellphone</from-outcome>
304                         <to-view-id>/admin/admin_contact_cellphone_show.xhtml</to-view-id>
305                 </navigation-case>
306                 <navigation-case>
307                         <from-outcome>admin_edit_contact_cellphone</from-outcome>
308                         <to-view-id>/admin/admin_contact_cellphone_edit.xhtml</to-view-id>
309                 </navigation-case>
310                 <navigation-case>
311                         <from-outcome>admin_delete_contact_cellphone</from-outcome>
312                         <to-view-id>/admin/admin_contact_cellphone_delete.xhtml</to-view-id>
313                 </navigation-case>
314         </navigation-rule>
315         <navigation-rule>
316                 <from-view-id>/admin/admin_contact_cellphone_show.xhtml</from-view-id>
317                 <navigation-case>
318                         <from-outcome>admin_show_mobile_provider</from-outcome>
319                         <to-view-id>/admin/admin_mobile_provider_show.xhtml</to-view-id>
320                 </navigation-case>
321                 <navigation-case>
322                         <from-outcome>admin_edit_contact_cellphone</from-outcome>
323                         <to-view-id>/admin/admin_contact_cellphone_edit.xhtml</to-view-id>
324                 </navigation-case>
325                 <navigation-case>
326                         <from-outcome>admin_delete_contact_cellphone</from-outcome>
327                         <to-view-id>/admin/admin_contact_cellphone_delete.xhtml</to-view-id>
328                 </navigation-case>
329                 <navigation-case>
330                         <from-outcome>admin_unlink_contact_cellphone</from-outcome>
331                         <to-view-id>/admin/admin_contact_cellphone_unlink.xhtml</to-view-id>
332                 </navigation-case>
333                 <navigation-case>
334                         <from-outcome>admin_show_contact</from-outcome>
335                         <to-view-id>/admin/admin_contact_show.xhtml</to-view-id>
336                 </navigation-case>
337         </navigation-rule>
338         <!--
339         <factory>
340                 <exception-handler-factory>
341                         org.mxchange.jcoreee.exceptions.CustomExceptionHandlerFactory
342                 </exception-handler-factory>
343         </factory>
344         //-->
345 </faces-config>