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