]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/faces-config.xml
752d28c21f6205ca65a5ed2592cecad0c3f7925e
[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>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_user_data</from-outcome>
100                         <to-view-id>/login/login_edit_user_data.xhtml</to-view-id>
101                 </navigation-case>
102                 <navigation-case>
103                         <from-outcome>user_profile</from-outcome>
104                         <to-view-id>/user/user_profile.xhtml</to-view-id>
105                 </navigation-case>
106         </navigation-rule>
107         <navigation-rule>
108                 <from-view-id>/user/login.xhtml</from-view-id>
109                 <navigation-case>
110                         <from-outcome>login</from-outcome>
111                         <to-view-id>/login/login_index.xhtml</to-view-id>
112                 </navigation-case>
113                 <navigation-case>
114                         <from-outcome>admin_add_user</from-outcome>
115                         <to-view-id>/admin/admin_user_add.xhtml</to-view-id>
116                 </navigation-case>
117                 <navigation-case>
118                         <from-outcome>admin_list_user</from-outcome>
119                         <to-view-id>/admin/user/admin_user_list.xhtml</to-view-id>
120                 </navigation-case>
121                 <navigation-case>
122                         <from-outcome>admin_list_countries</from-outcome>
123                         <to-view-id>/admin/country/admin_country_list.xhtml</to-view-id>
124                 </navigation-case>
125                 <navigation-case>
126                         <from-outcome>admin_list_mobile_provider</from-outcome>
127                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_list.xhtml</to-view-id>
128                 </navigation-case>
129                 <navigation-case>
130                         <from-outcome>admin_list_contact_cellphone</from-outcome>
131                         <to-view-id>/admin/cellphone/admin_contact_cellphone_list.xhtml</to-view-id>
132                 </navigation-case>
133         </navigation-rule>
134         <navigation-rule>
135                 <from-view-id>/user/register.xhtml</from-view-id>
136                 <navigation-case>
137                         <from-outcome>register_done</from-outcome>
138                         <to-view-id>/user/register_done.xhtml</to-view-id>
139                 </navigation-case>
140         </navigation-rule>
141         <navigation-rule>
142                 <from-view-id>/admin/admin_logout.xhtml</from-view-id>
143                 <navigation-case>
144                         <from-outcome>index</from-outcome>
145                         <to-view-id>/index.xhtml</to-view-id>
146                 </navigation-case>
147         </navigation-rule>
148         <navigation-rule>
149                 <from-view-id>/login/login_own_addressbooks.xhtml</from-view-id>
150                 <navigation-case>
151                         <from-outcome>login_add_addressbook</from-outcome>
152                         <to-view-id>/login/login_add_addressbook.xhtml</to-view-id>
153                 </navigation-case>
154                 <navigation-case>
155                         <from-outcome>user_show_addressbook</from-outcome>
156                         <to-view-id>/user/show_addressbook.xhtml</to-view-id>
157                 </navigation-case>
158                 <navigation-case>
159                         <from-outcome>show_addressbook_entries</from-outcome>
160                         <to-view-id>/user/show_addressbook_entries.xhtml</to-view-id>
161                 </navigation-case>
162         </navigation-rule>
163         <navigation-rule>
164                 <from-view-id>/login/login_edit_user_data.xhtml</from-view-id>
165                 <navigation-case>
166                         <from-outcome>login_change_email_address</from-outcome>
167                         <to-view-id>/login/login_change_email_address.xhtml</to-view-id>
168                 </navigation-case>
169                 <navigation-case>
170                         <from-outcome>login_change_password</from-outcome>
171                         <to-view-id>/login/login_change_password.xhtml</to-view-id>
172                 </navigation-case>
173                 <navigation-case>
174                         <from-outcome>login_change_personal_data</from-outcome>
175                         <to-view-id>/login/login_change_personal_data.xhtml</to-view-id>
176                 </navigation-case>
177         </navigation-rule>
178         <navigation-rule>
179                 <from-view-id>/login/login_change_password.xhtml</from-view-id>
180                 <navigation-case>
181                         <from-outcome>login_data_saved</from-outcome>
182                         <to-view-id>/login/login_data_saved.xhtml</to-view-id>
183                 </navigation-case>
184         </navigation-rule>
185         <navigation-rule>
186                 <from-view-id>/login/login_change_email_address.xhtml</from-view-id>
187                 <navigation-case>
188                         <from-outcome>login_data_saved</from-outcome>
189                         <to-view-id>/login/login_data_saved.xhtml</to-view-id>
190                 </navigation-case>
191                 <navigation-case>
192                         <from-outcome>admin_delete_product</from-outcome>
193                         <to-view-id>/admin/admin_product_delete.xhtml</to-view-id>
194                 </navigation-case>
195         </navigation-rule>
196         <navigation-rule>
197                 <from-view-id>/login/login_change_personal_data.xhtml</from-view-id>
198                 <navigation-case>
199                         <from-outcome>login_data_saved</from-outcome>
200                         <to-view-id>/login/login_data_saved.xhtml</to-view-id>
201                 </navigation-case>
202                 <navigation-case>
203                         <from-outcome>admin_delete_category</from-outcome>
204                         <to-view-id>/admin/admin_category_delete.xhtml</to-view-id>
205                 </navigation-case>
206         </navigation-rule>
207         <navigation-rule>
208                 <from-view-id>/admin/country/admin_country_list.xhtml</from-view-id>
209                 <navigation-case>
210                         <from-outcome>admin_edit_country</from-outcome>
211                         <to-view-id>/admin/country/admin_country_edit.xhtml</to-view-id>
212                 </navigation-case>
213                 <navigation-case>
214                         <from-outcome>admin_delete_country</from-outcome>
215                         <to-view-id>/admin/country/admin_country_delete.xhtml</to-view-id>
216                 </navigation-case>
217         </navigation-rule>
218         <navigation-rule>
219                 <from-view-id>/admin/mobile_provider/admin_mobile_provider_list.xhtml</from-view-id>
220                 <navigation-case>
221                         <from-outcome>admin_edit_mobile_provider</from-outcome>
222                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_edit.xhtml</to-view-id>
223                 </navigation-case>
224                 <navigation-case>
225                         <from-outcome>admin_delete_mobile_provider</from-outcome>
226                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_delete.xhtml</to-view-id>
227                 </navigation-case>
228                 <navigation-case>
229                         <from-outcome>admin_show_mobile_provider</from-outcome>
230                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_show.xhtml</to-view-id>
231                 </navigation-case>
232         </navigation-rule>
233         <navigation-rule>
234                 <from-view-id>/admin/user/admin_user_list.xhtml</from-view-id>
235                 <navigation-case>
236                         <from-outcome>admin_show_user</from-outcome>
237                         <to-view-id>/admin/user/admin_user_show.xhtml</to-view-id>
238                 </navigation-case>
239                 <navigation-case>
240                         <from-outcome>admin_edit_user</from-outcome>
241                         <to-view-id>/admin/user/admin_user_edit.xhtml</to-view-id>
242                 </navigation-case>
243                 <navigation-case>
244                         <from-outcome>admin_delete_user</from-outcome>
245                         <to-view-id>/admin/user/admin_user_delete.xhtml</to-view-id>
246                 </navigation-case>
247                 <navigation-case>
248                         <from-outcome>admin_unlock_user</from-outcome>
249                         <to-view-id>/admin/user/admin_user_unlock.xhtml</to-view-id>
250                 </navigation-case>
251         </navigation-rule>
252         <navigation-rule>
253                 <from-view-id>/admin/user/admin_user_show.xhtml</from-view-id>
254                 <navigation-case>
255                         <from-outcome>admin_show_contact_cellphone</from-outcome>
256                         <to-view-id>/admin/cellphone/admin_contact_cellphone_show.xhtml</to-view-id>
257                 </navigation-case>
258                 <navigation-case>
259                         <from-outcome>admin_edit_contact_cellphone</from-outcome>
260                         <to-view-id>/admin/cellphone/admin_contact_cellphone_edit.xhtml</to-view-id>
261                 </navigation-case>
262                 <navigation-case>
263                         <from-outcome>admin_unlink_contact_cellphone</from-outcome>
264                         <to-view-id>/admin/cellphone/admin_contact_cellphone_unlink.xhtml</to-view-id>
265                 </navigation-case>
266                 <navigation-case>
267                         <from-outcome>admin_delete_contact_cellphone</from-outcome>
268                         <to-view-id>/admin/cellphone/admin_contact_cellphone_delete.xhtml</to-view-id>
269                 </navigation-case>
270                 <navigation-case>
271                         <from-outcome>admin_edit_user</from-outcome>
272                         <to-view-id>/admin/user/admin_user_edit.xhtml</to-view-id>
273                 </navigation-case>
274                 <navigation-case>
275                         <from-outcome>admin_delete_user</from-outcome>
276                         <to-view-id>/admin/user/admin_user_delete.xhtml</to-view-id>
277                 </navigation-case>
278                 <navigation-case>
279                         <from-outcome>admin_unlock_user</from-outcome>
280                         <to-view-id>/admin/user/admin_user_unlock.xhtml</to-view-id>
281                 </navigation-case>
282                 <navigation-case>
283                         <from-outcome>admin_edit_contact</from-outcome>
284                         <to-view-id>/admin/contact/admin_contact_edit.xhtml</to-view-id>
285                 </navigation-case>
286                 <navigation-case>
287                         <from-outcome>admin_show_mobile_provider</from-outcome>
288                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_show.xhtml</to-view-id>
289                 </navigation-case>
290         </navigation-rule>
291         <navigation-rule>
292                 <from-view-id>/admin/cellphone/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/cellphone/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/cellphone/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/cellphone/admin_contact_cellphone_delete.xhtml</to-view-id>
304                 </navigation-case>
305         </navigation-rule>
306         <navigation-rule>
307                 <from-view-id>/admin/cellphone/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/mobile_provider/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/cellphone/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/cellphone/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/cellphone/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/contact/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>