]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/faces-config.xml
3814d681c968070ed6df8479a2c1883b546fc618
[pizzaservice-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         <navigation-rule>
13                 <from-view-id>*</from-view-id>
14                 <navigation-case>
15                         <from-outcome>customer_register</from-outcome>
16                         <to-view-id>/customer/register.xhtml</to-view-id>
17                 </navigation-case>
18                 <navigation-case>
19                         <from-outcome>index</from-outcome>
20                         <to-view-id>/index.xhtml</to-view-id>
21                 </navigation-case>
22                 <navigation-case>
23                         <from-outcome>user_lost_passwd</from-outcome>
24                         <to-view-id>/customer/lost_passwd.xhtml</to-view-id>
25                 </navigation-case>
26                 <navigation-case>
27                         <from-outcome>customer_login</from-outcome>
28                         <to-view-id>/customer/login.xhtml</to-view-id>
29                 </navigation-case>
30                 <navigation-case>
31                         <from-outcome>terms</from-outcome>
32                         <to-view-id>/terms.xhtml</to-view-id>
33                 </navigation-case>
34                 <navigation-case>
35                         <from-outcome>privacy</from-outcome>
36                         <to-view-id>/privacy.xhtml</to-view-id>
37                 </navigation-case>
38                 <navigation-case>
39                         <from-outcome>imprint</from-outcome>
40                         <to-view-id>/imprint.xhtml</to-view-id>
41                 </navigation-case>
42                 <navigation-case>
43                         <from-outcome>logout</from-outcome>
44                         <to-view-id>/logout.xhtml</to-view-id>
45                 </navigation-case>
46                 <navigation-case>
47                         <from-outcome>admin_product</from-outcome>
48                         <to-view-id>/admin/product/admin_product_list.xhtml</to-view-id>
49                 </navigation-case>
50                 <navigation-case>
51                         <from-outcome>user_index</from-outcome>
52                         <to-view-id>/user/login_index.xhtml</to-view-id>
53                 </navigation-case>
54                 <navigation-case>
55                         <from-outcome>admin_category</from-outcome>
56                         <to-view-id>/admin/category/admin_category_list.xhtml</to-view-id>
57                 </navigation-case>
58                 <navigation-case>
59                         <from-outcome>admin_index</from-outcome>
60                         <to-view-id>/admin/index.xhtml</to-view-id>
61                 </navigation-case>
62                 <navigation-case>
63                         <from-outcome>admin_logout</from-outcome>
64                         <to-view-id>/admin/admin_logout.xhtml</to-view-id>
65                 </navigation-case>
66                 <navigation-case>
67                         <from-outcome>basket</from-outcome>
68                         <to-view-id>/basket.xhtml</to-view-id>
69                 </navigation-case>
70                 <navigation-case>
71                         <from-outcome>exception</from-outcome>
72                         <to-view-id>/exception.xhtml</to-view-id>
73                 </navigation-case>
74                 <navigation-case>
75                         <from-outcome>admin_list_user</from-outcome>
76                         <to-view-id>/admin/user/admin_user_list.xhtml</to-view-id>
77                 </navigation-case>
78                 <navigation-case>
79                         <from-outcome>admin_list_contact</from-outcome>
80                         <to-view-id>/admin/contact/admin_contact_list.xhtml</to-view-id>
81                 </navigation-case>
82                 <navigation-case>
83                         <from-outcome>admin_list_countries</from-outcome>
84                         <to-view-id>/admin/country/admin_country_list.xhtml</to-view-id>
85                 </navigation-case>
86                 <navigation-case>
87                         <from-outcome>admin_list_mobile_provider</from-outcome>
88                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_list.xhtml</to-view-id>
89                 </navigation-case>
90                 <navigation-case>
91                         <from-outcome>admin_list_contact_cellphone</from-outcome>
92                         <to-view-id>/admin/cellphone/admin_contact_cellphone_list.xhtml</to-view-id>
93                 </navigation-case>
94                 <navigation-case>
95                         <from-outcome>admin_list_customer</from-outcome>
96                         <to-view-id>/admin/customer/admin_customer_list.xhtml</to-view-id>
97                 </navigation-case>
98                 <navigation-case>
99                         <from-outcome>login_user</from-outcome>
100                         <to-view-id>/user/login_index.xhtml</to-view-id>
101                 </navigation-case>
102         </navigation-rule>
103         <navigation-rule>
104                 <from-view-id>/guest/user/register.xhtml</from-view-id>
105                 <navigation-case>
106                         <from-outcome>register_done</from-outcome>
107                         <to-view-id>/guest/user/register_done.xhtml</to-view-id>
108                 </navigation-case>
109         </navigation-rule>
110         <navigation-rule>
111                 <from-view-id>/admin/admin_logout.xhtml</from-view-id>
112                 <navigation-case>
113                         <from-outcome>index</from-outcome>
114                         <to-view-id>/index.xhtml</to-view-id>
115                 </navigation-case>
116         </navigation-rule>
117         <navigation-rule>
118                 <from-view-id>/user/login_own_addressbooks.xhtml</from-view-id>
119                 <navigation-case>
120                         <from-outcome>user_add_addressbook</from-outcome>
121                         <to-view-id>/user/login_add_addressbook.xhtml</to-view-id>
122                 </navigation-case>
123                 <navigation-case>
124                         <from-outcome>user_show_addressbook</from-outcome>
125                         <to-view-id>/guest/user/show_addressbook.xhtml</to-view-id>
126                 </navigation-case>
127                 <navigation-case>
128                         <from-outcome>show_addressbook_entries</from-outcome>
129                         <to-view-id>/guest/user/show_addressbook_entries.xhtml</to-view-id>
130                 </navigation-case>
131         </navigation-rule>
132         <navigation-rule>
133                 <from-view-id>/guest/user/user_list.xhtml</from-view-id>
134                 <navigation-case>
135                         <from-outcome>checkout</from-outcome>
136                         <to-view-id>/customer/checkout.xhtml</to-view-id>
137                 </navigation-case>
138         </navigation-rule>
139         <navigation-rule>
140                 <from-view-id>/customer/checkout.xhtml</from-view-id>
141                 <navigation-case>
142                         <from-outcome>checkout2</from-outcome>
143                         <to-view-id>/customer/checkout2.xhtml</to-view-id>
144                 </navigation-case>
145         </navigation-rule>
146         <navigation-rule>
147                 <from-view-id>/index.xhtml</from-view-id>
148                 <navigation-case>
149                         <from-outcome>item_added</from-outcome>
150                         <to-view-id>/item_added.xhtml</to-view-id>
151                 </navigation-case>
152         </navigation-rule>
153         <navigation-rule>
154                 <from-view-id>/user/login_edit_user_data.xhtml</from-view-id>
155                 <navigation-case>
156                         <from-outcome>user_change_email_address</from-outcome>
157                         <to-view-id>/user/login_change_email_address.xhtml</to-view-id>
158                 </navigation-case>
159                 <navigation-case>
160                         <from-outcome>user_change_password</from-outcome>
161                         <to-view-id>/user/login_change_password.xhtml</to-view-id>
162                 </navigation-case>
163                 <navigation-case>
164                         <from-outcome>user_change_personal_data</from-outcome>
165                         <to-view-id>/user/login_change_personal_data.xhtml</to-view-id>
166                 </navigation-case>
167         </navigation-rule>
168         <navigation-rule>
169                 <from-view-id>/admin/admin_logout.xhtml</from-view-id>
170                 <navigation-case>
171                         <from-outcome>index</from-outcome>
172                         <to-view-id>/*</to-view-id>
173                 </navigation-case>
174         </navigation-rule>
175         <navigation-rule>
176                 <from-view-id>/admin/product/admin_product_list.xhtml</from-view-id>
177                 <navigation-case>
178                         <from-outcome>contact_data_saved</from-outcome>
179                         <to-view-id>/user/login_contact_data_saved.xhtml</to-view-id>
180                 </navigation-case>
181                 <navigation-case>
182                         <from-outcome>admin_delete_product</from-outcome>
183                         <to-view-id>/admin/product/admin_product_delete.xhtml</to-view-id>
184                 </navigation-case>
185         </navigation-rule>
186         <navigation-rule>
187                 <from-view-id>/admin/category/admin_category_list.xhtml</from-view-id>
188                 <navigation-case>
189                         <from-outcome>admin_edit_category</from-outcome>
190                         <to-view-id>/admin/category/admin_category_edit.xhtml</to-view-id>
191                 </navigation-case>
192                 <navigation-case>
193                         <from-outcome>admin_delete_category</from-outcome>
194                         <to-view-id>/admin/category/admin_category_delete.xhtml</to-view-id>
195                 </navigation-case>
196         </navigation-rule>
197         <navigation-rule>
198                 <from-view-id>/admin/country/admin_country_list.xhtml</from-view-id>
199                 <navigation-case>
200                         <from-outcome>admin_edit_country</from-outcome>
201                         <to-view-id>/admin/country/admin_country_edit.xhtml</to-view-id>
202                 </navigation-case>
203                 <navigation-case>
204                         <from-outcome>admin_delete_country</from-outcome>
205                         <to-view-id>/admin/country/admin_country_delete.xhtml</to-view-id>
206                 </navigation-case>
207         </navigation-rule>
208         <navigation-rule>
209                 <from-view-id>/admin/mobile_provider/admin_mobile_provider_list.xhtml</from-view-id>
210                 <navigation-case>
211                         <from-outcome>admin_edit_mobile_provider</from-outcome>
212                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_edit.xhtml</to-view-id>
213                 </navigation-case>
214                 <navigation-case>
215                         <from-outcome>admin_delete_mobile_provider</from-outcome>
216                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_delete.xhtml</to-view-id>
217                 </navigation-case>
218                 <navigation-case>
219                         <from-outcome>admin_show_mobile_provider</from-outcome>
220                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_show.xhtml</to-view-id>
221                 </navigation-case>
222         </navigation-rule>
223         <navigation-rule>
224                 <from-view-id>/admin/user/admin_user_list.xhtml</from-view-id>
225                 <navigation-case>
226                         <from-outcome>admin_show_user</from-outcome>
227                         <to-view-id>/admin/user/admin_user_show.xhtml</to-view-id>
228                 </navigation-case>
229                 <navigation-case>
230                         <from-outcome>admin_edit_user</from-outcome>
231                         <to-view-id>/admin/user/admin_user_edit.xhtml</to-view-id>
232                 </navigation-case>
233                 <navigation-case>
234                         <from-outcome>admin_delete_user</from-outcome>
235                         <to-view-id>/admin/user/admin_user_delete.xhtml</to-view-id>
236                 </navigation-case>
237                 <navigation-case>
238                         <from-outcome>admin_unlock_user</from-outcome>
239                         <to-view-id>/admin/user/admin_user_unlock.xhtml</to-view-id>
240                 </navigation-case>
241         </navigation-rule>
242         <navigation-rule>
243                 <from-view-id>/admin/user/admin_user_show.xhtml</from-view-id>
244                 <navigation-case>
245                         <from-outcome>admin_show_mobile_provider</from-outcome>
246                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_show.xhtml</to-view-id>
247                 </navigation-case>
248                 <navigation-case>
249                         <from-outcome>admin_show_contact_cellphone</from-outcome>
250                         <to-view-id>/admin/cellphone/admin_contact_cellphone_show.xhtml</to-view-id>
251                 </navigation-case>
252                 <navigation-case>
253                         <from-outcome>admin_edit_contact_cellphone</from-outcome>
254                         <to-view-id>/admin/cellphone/admin_contact_cellphone_edit.xhtml</to-view-id>
255                 </navigation-case>
256                 <navigation-case>
257                         <from-outcome>admin_unlink_contact_cellphone</from-outcome>
258                         <to-view-id>/admin/cellphone/admin_contact_cellphone_unlink.xhtml</to-view-id>
259                 </navigation-case>
260                 <navigation-case>
261                         <from-outcome>admin_delete_contact_cellphone</from-outcome>
262                         <to-view-id>/admin/cellphone/admin_contact_cellphone_delete.xhtml</to-view-id>
263                 </navigation-case>
264                 <navigation-case>
265                         <from-outcome>admin_edit_user</from-outcome>
266                         <to-view-id>/admin/user/admin_user_edit.xhtml</to-view-id>
267                 </navigation-case>
268                 <navigation-case>
269                         <from-outcome>admin_delete_user</from-outcome>
270                         <to-view-id>/admin/user/admin_user_delete.xhtml</to-view-id>
271                 </navigation-case>
272                 <navigation-case>
273                         <from-outcome>admin_unlock_user</from-outcome>
274                         <to-view-id>/admin/user/admin_user_unlock.xhtml</to-view-id>
275                 </navigation-case>
276                 <navigation-case>
277                         <from-outcome>admin_edit_contact</from-outcome>
278                         <to-view-id>/admin/contact/admin_contact_edit.xhtml</to-view-id>
279                 </navigation-case>
280         </navigation-rule>
281         <navigation-rule>
282                 <from-view-id>/admin/customer/admin_customer_show.xhtml</from-view-id>
283                 <navigation-case>
284                         <from-outcome>admin_show_mobile_provider</from-outcome>
285                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_show.xhtml</to-view-id>
286                 </navigation-case>
287                 <navigation-case>
288                         <from-outcome>admin_show_contact_cellphone</from-outcome>
289                         <to-view-id>/admin/cellphone/admin_contact_cellphone_show.xhtml</to-view-id>
290                 </navigation-case>
291                 <navigation-case>
292                         <from-outcome>admin_edit_contact_cellphone</from-outcome>
293                         <to-view-id>/admin/cellphone/admin_contact_cellphone_edit.xhtml</to-view-id>
294                 </navigation-case>
295                 <navigation-case>
296                         <from-outcome>admin_unlink_contact_cellphone</from-outcome>
297                         <to-view-id>/admin/cellphone/admin_contact_cellphone_unlink.xhtml</to-view-id>
298                 </navigation-case>
299                 <navigation-case>
300                         <from-outcome>admin_delete_contact_cellphone</from-outcome>
301                         <to-view-id>/admin/cellphone/admin_contact_cellphone_delete.xhtml</to-view-id>
302                 </navigation-case>
303                 <navigation-case>
304                         <from-outcome>admin_edit_customer</from-outcome>
305                         <to-view-id>/admin/customer/admin_customer_edit.xhtml</to-view-id>
306                 </navigation-case>
307                 <navigation-case>
308                         <from-outcome>admin_delete_customer</from-outcome>
309                         <to-view-id>/admin/customer/admin_customer_delete.xhtml</to-view-id>
310                 </navigation-case>
311                 <navigation-case>
312                         <from-outcome>admin_unlock_customer</from-outcome>
313                         <to-view-id>/admin/customer/admin_customer_unlock.xhtml</to-view-id>
314                 </navigation-case>
315                 <navigation-case>
316                         <from-outcome>admin_edit_contact</from-outcome>
317                         <to-view-id>/admin/contact/admin_contact_edit.xhtml</to-view-id>
318                 </navigation-case>
319         </navigation-rule>
320         <navigation-rule>
321                 <from-view-id>/admin/contact/admin_contact_show.xhtml</from-view-id>
322                 <navigation-case>
323                         <from-outcome>admin_edit_contact</from-outcome>
324                         <to-view-id>/admin/contact/admin_contact_edit.xhtml</to-view-id>
325                 </navigation-case>
326                 <navigation-case>
327                         <from-outcome>admin_delete_contact</from-outcome>
328                         <to-view-id>/admin/contact/admin_contact_delete.xhtml</to-view-id>
329                 </navigation-case>
330                 <navigation-case>
331                         <from-outcome>admin_show_mobile_provider</from-outcome>
332                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_show.xhtml</to-view-id>
333                 </navigation-case>
334                 <navigation-case>
335                         <from-outcome>admin_edit_contact_cellphone</from-outcome>
336                         <to-view-id>/admin/cellphone/admin_contact_cellphone_edit.xhtml</to-view-id>
337                 </navigation-case>
338                 <navigation-case>
339                         <from-outcome>admin_delete_contact_cellphone</from-outcome>
340                         <to-view-id>/admin/cellphone/admin_contact_cellphone_delete.xhtml</to-view-id>
341                 </navigation-case>
342                 <navigation-case>
343                         <from-outcome>admin_unlink_contact_cellphone</from-outcome>
344                         <to-view-id>/admin/cellphone/admin_contact_cellphone_unlink.xhtml</to-view-id>
345                 </navigation-case>
346                 <navigation-case>
347                         <from-outcome>admin_show_contact_cellphone</from-outcome>
348                         <to-view-id>/admin/cellphone/admin_contact_cellphone_show.xhtml</to-view-id>
349                 </navigation-case>
350         </navigation-rule>
351         <navigation-rule>
352                 <from-view-id>/admin/cellphone/admin_contact_cellphone_list.xhtml</from-view-id>
353                 <navigation-case>
354                         <from-outcome>admin_show_contact_cellphone</from-outcome>
355                         <to-view-id>/admin/cellphone/admin_contact_cellphone_show.xhtml</to-view-id>
356                 </navigation-case>
357                 <navigation-case>
358                         <from-outcome>admin_edit_contact_cellphone</from-outcome>
359                         <to-view-id>/admin/cellphone/admin_contact_cellphone_edit.xhtml</to-view-id>
360                 </navigation-case>
361                 <navigation-case>
362                         <from-outcome>admin_delete_contact_cellphone</from-outcome>
363                         <to-view-id>/admin/cellphone/admin_contact_cellphone_delete.xhtml</to-view-id>
364                 </navigation-case>
365         </navigation-rule>
366         <navigation-rule>
367                 <from-view-id>/admin/cellphone/admin_contact_cellphone_show.xhtml</from-view-id>
368                 <navigation-case>
369                         <from-outcome>admin_show_mobile_provider</from-outcome>
370                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_show.xhtml</to-view-id>
371                 </navigation-case>
372                 <navigation-case>
373                         <from-outcome>admin_edit_contact_cellphone</from-outcome>
374                         <to-view-id>/admin/cellphone/admin_contact_cellphone_edit.xhtml</to-view-id>
375                 </navigation-case>
376                 <navigation-case>
377                         <from-outcome>admin_delete_contact_cellphone</from-outcome>
378                         <to-view-id>/admin/cellphone/admin_contact_cellphone_delete.xhtml</to-view-id>
379                 </navigation-case>
380                 <navigation-case>
381                         <from-outcome>admin_unlink_contact_cellphone</from-outcome>
382                         <to-view-id>/admin/cellphone/admin_contact_cellphone_unlink.xhtml</to-view-id>
383                 </navigation-case>
384                 <navigation-case>
385                         <from-outcome>admin_show_contact</from-outcome>
386                         <to-view-id>/admin/contact/admin_contact_show.xhtml</to-view-id>
387                 </navigation-case>
388         </navigation-rule>
389         <navigation-rule>
390                 <from-view-id>/admin/contact/admin_contact_edit.xhtml</from-view-id>
391                 <navigation-case>
392                         <from-outcome>admin_list_contact</from-outcome>
393                         <to-view-id>/admin/contact/admin_contact_list.xhtml</to-view-id>
394                 </navigation-case>
395         </navigation-rule>
396         <navigation-rule>
397                 <from-view-id>/admin/customer/admin_customer_list.xhtml</from-view-id>
398                 <navigation-case>
399                         <from-outcome>admin_show_customer</from-outcome>
400                         <to-view-id>/admin/customer/admin_customer_show.xhtml</to-view-id>
401                 </navigation-case>
402                 <navigation-case>
403                         <from-outcome>admin_edit_customer</from-outcome>
404                         <to-view-id>/admin/customer/admin_customer_edit.xhtml</to-view-id>
405                 </navigation-case>
406                 <navigation-case>
407                         <from-outcome>admin_delete_customer</from-outcome>
408                         <to-view-id>/admin/customer/admin_customer_delete.xhtml</to-view-id>
409                 </navigation-case>
410                 <navigation-case>
411                         <from-outcome>admin_unlock_customer</from-outcome>
412                         <to-view-id>/admin/customer/admin_customer_unlock.xhtml</to-view-id>
413                 </navigation-case>
414         </navigation-rule>
415         <navigation-rule>
416                 <from-view-id>/admin/customer/admin_customer_show.xhtml</from-view-id>
417                 <navigation-case>
418                         <from-outcome>admin_edit_customer</from-outcome>
419                         <to-view-id>/admin/customer/admin_customer_edit.xhtml</to-view-id>
420                 </navigation-case>
421                 <navigation-case>
422                         <from-outcome>admin_delete_customer</from-outcome>
423                         <to-view-id>/admin/customer/admin_customer_delete.xhtml</to-view-id>
424                 </navigation-case>
425                 <navigation-case>
426                         <from-outcome>admin_unlock_customer</from-outcome>
427                         <to-view-id>/admin/customer/admin_customer_unlock.xhtml</to-view-id>
428                 </navigation-case>
429         </navigation-rule>
430         <navigation-rule>
431                 <from-view-id>/admin/contact/admin_contact_list.xhtml</from-view-id>
432                 <navigation-case>
433                         <from-outcome>admin_delete_contact</from-outcome>
434                         <to-view-id>/admin/contact/admin_contact_delete.xhtml</to-view-id>
435                 </navigation-case>
436                 <navigation-case>
437                         <from-outcome>admin_edit_contact</from-outcome>
438                         <to-view-id>/admin/contact/admin_contact_edit.xhtml</to-view-id>
439                 </navigation-case>
440                 <navigation-case>
441                         <from-outcome>admin_show_contact</from-outcome>
442                         <to-view-id>/admin/contact/admin_contact_show.xhtml</to-view-id>
443                 </navigation-case>
444         </navigation-rule>
445         <!--
446         <factory>
447                 <exception-handler-factory>
448                         org.mxchange.jcoreee.exceptions.CustomExceptionHandlerFactory
449                 </exception-handler-factory>
450         </factory>
451         //-->
452 </faces-config>