]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/faces-config.xml
13317a99048146e527005649733914554a65a7b0
[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>customer_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>admin_category</from-outcome>
52                         <to-view-id>/admin/category/admin_category_list.xhtml</to-view-id>
53                 </navigation-case>
54                 <navigation-case>
55                         <from-outcome>admin_index</from-outcome>
56                         <to-view-id>/admin/index.xhtml</to-view-id>
57                 </navigation-case>
58                 <navigation-case>
59                         <from-outcome>admin_logout</from-outcome>
60                         <to-view-id>/admin/admin_logout.xhtml</to-view-id>
61                 </navigation-case>
62                 <navigation-case>
63                         <from-outcome>basket</from-outcome>
64                         <to-view-id>/basket.xhtml</to-view-id>
65                 </navigation-case>
66                 <navigation-case>
67                         <from-outcome>exception</from-outcome>
68                         <to-view-id>/exception.xhtml</to-view-id>
69                 </navigation-case>
70                 <navigation-case>
71                         <from-outcome>admin_list_user</from-outcome>
72                         <to-view-id>/admin/user/admin_user_list.xhtml</to-view-id>
73                 </navigation-case>
74                 <navigation-case>
75                         <from-outcome>admin_list_contact</from-outcome>
76                         <to-view-id>/admin/contact/admin_contact_list.xhtml</to-view-id>
77                 </navigation-case>
78                 <navigation-case>
79                         <from-outcome>admin_list_countries</from-outcome>
80                         <to-view-id>/admin/country/admin_country_list.xhtml</to-view-id>
81                 </navigation-case>
82                 <navigation-case>
83                         <from-outcome>admin_list_mobile_provider</from-outcome>
84                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_list.xhtml</to-view-id>
85                 </navigation-case>
86                 <navigation-case>
87                         <from-outcome>admin_list_contact_cellphone</from-outcome>
88                         <to-view-id>/admin/cellphone/admin_contact_cellphone_list.xhtml</to-view-id>
89                 </navigation-case>
90                 <navigation-case>
91                         <from-outcome>admin_list_customer</from-outcome>
92                         <to-view-id>/admin/customer/admin_customer_list.xhtml</to-view-id>
93                 </navigation-case>
94                 <navigation-case>
95                         <from-outcome>login_index</from-outcome>
96                         <to-view-id>/login/index.xhtml</to-view-id>
97                 </navigation-case>
98         </navigation-rule>
99         <navigation-rule>
100                 <from-view-id>/basket.xhtml</from-view-id>
101                 <navigation-case>
102                         <from-outcome>checkout</from-outcome>
103                         <to-view-id>/customer/checkout.xhtml</to-view-id>
104                 </navigation-case>
105         </navigation-rule>
106         <navigation-rule>
107                 <from-view-id>/customer/checkout.xhtml</from-view-id>
108                 <navigation-case>
109                         <from-outcome>checkout2</from-outcome>
110                         <to-view-id>/customer/checkout2.xhtml</to-view-id>
111                 </navigation-case>
112         </navigation-rule>
113         <navigation-rule>
114                 <from-view-id>/index.xhtml</from-view-id>
115                 <navigation-case>
116                         <from-outcome>item_added</from-outcome>
117                         <to-view-id>/item_added.xhtml</to-view-id>
118                 </navigation-case>
119         </navigation-rule>
120         <navigation-rule>
121                 <from-view-id>/customer/checkout2.xhtml</from-view-id>
122                 <navigation-case>
123                         <from-outcome>checkout_done</from-outcome>
124                         <to-view-id>/customer/checkout_done.xhtml</to-view-id>
125                 </navigation-case>
126                 <navigation-case>
127                         <from-outcome>empty_basket</from-outcome>
128                         <to-view-id>/customer/empty_basket.xhtml</to-view-id>
129                 </navigation-case>
130         </navigation-rule>
131         <navigation-rule>
132                 <from-view-id>/admin/admin_logout.xhtml</from-view-id>
133                 <navigation-case>
134                         <from-outcome>index</from-outcome>
135                         <to-view-id>/*</to-view-id>
136                 </navigation-case>
137         </navigation-rule>
138         <navigation-rule>
139                 <from-view-id>/admin/product/admin_product_list.xhtml</from-view-id>
140                 <navigation-case>
141                         <from-outcome>contact_data_saved</from-outcome>
142                         <to-view-id>/login/login_contact_data_saved.xhtml</to-view-id>
143                 </navigation-case>
144                 <navigation-case>
145                         <from-outcome>admin_delete_product</from-outcome>
146                         <to-view-id>/admin/product/admin_product_delete.xhtml</to-view-id>
147                 </navigation-case>
148         </navigation-rule>
149         <navigation-rule>
150                 <from-view-id>/admin/category/admin_category_list.xhtml</from-view-id>
151                 <navigation-case>
152                         <from-outcome>admin_edit_category</from-outcome>
153                         <to-view-id>/admin/category/admin_category_edit.xhtml</to-view-id>
154                 </navigation-case>
155                 <navigation-case>
156                         <from-outcome>admin_delete_category</from-outcome>
157                         <to-view-id>/admin/category/admin_category_delete.xhtml</to-view-id>
158                 </navigation-case>
159         </navigation-rule>
160         <navigation-rule>
161                 <from-view-id>/admin/country/admin_country_list.xhtml</from-view-id>
162                 <navigation-case>
163                         <from-outcome>admin_edit_country</from-outcome>
164                         <to-view-id>/admin/country/admin_country_edit.xhtml</to-view-id>
165                 </navigation-case>
166                 <navigation-case>
167                         <from-outcome>admin_delete_country</from-outcome>
168                         <to-view-id>/admin/country/admin_country_delete.xhtml</to-view-id>
169                 </navigation-case>
170         </navigation-rule>
171         <navigation-rule>
172                 <from-view-id>/admin/mobile_provider/admin_mobile_provider_list.xhtml</from-view-id>
173                 <navigation-case>
174                         <from-outcome>admin_edit_mobile_provider</from-outcome>
175                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_edit.xhtml</to-view-id>
176                 </navigation-case>
177                 <navigation-case>
178                         <from-outcome>admin_delete_mobile_provider</from-outcome>
179                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_delete.xhtml</to-view-id>
180                 </navigation-case>
181                 <navigation-case>
182                         <from-outcome>admin_show_mobile_provider</from-outcome>
183                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_show.xhtml</to-view-id>
184                 </navigation-case>
185         </navigation-rule>
186         <navigation-rule>
187                 <from-view-id>/admin/user/admin_user_list.xhtml</from-view-id>
188                 <navigation-case>
189                         <from-outcome>admin_show_user</from-outcome>
190                         <to-view-id>/admin/user/admin_user_show.xhtml</to-view-id>
191                 </navigation-case>
192                 <navigation-case>
193                         <from-outcome>admin_edit_user</from-outcome>
194                         <to-view-id>/admin/user/admin_user_edit.xhtml</to-view-id>
195                 </navigation-case>
196                 <navigation-case>
197                         <from-outcome>admin_delete_user</from-outcome>
198                         <to-view-id>/admin/user/admin_user_delete.xhtml</to-view-id>
199                 </navigation-case>
200                 <navigation-case>
201                         <from-outcome>admin_unlock_user</from-outcome>
202                         <to-view-id>/admin/user/admin_user_unlock.xhtml</to-view-id>
203                 </navigation-case>
204         </navigation-rule>
205         <navigation-rule>
206                 <from-view-id>/admin/user/admin_user_show.xhtml</from-view-id>
207                 <navigation-case>
208                         <from-outcome>admin_show_mobile_provider</from-outcome>
209                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_show.xhtml</to-view-id>
210                 </navigation-case>
211                 <navigation-case>
212                         <from-outcome>admin_show_contact_cellphone</from-outcome>
213                         <to-view-id>/admin/cellphone/admin_contact_cellphone_show.xhtml</to-view-id>
214                 </navigation-case>
215                 <navigation-case>
216                         <from-outcome>admin_edit_contact_cellphone</from-outcome>
217                         <to-view-id>/admin/cellphone/admin_contact_cellphone_edit.xhtml</to-view-id>
218                 </navigation-case>
219                 <navigation-case>
220                         <from-outcome>admin_unlink_contact_cellphone</from-outcome>
221                         <to-view-id>/admin/cellphone/admin_contact_cellphone_unlink.xhtml</to-view-id>
222                 </navigation-case>
223                 <navigation-case>
224                         <from-outcome>admin_delete_contact_cellphone</from-outcome>
225                         <to-view-id>/admin/cellphone/admin_contact_cellphone_delete.xhtml</to-view-id>
226                 </navigation-case>
227                 <navigation-case>
228                         <from-outcome>admin_edit_user</from-outcome>
229                         <to-view-id>/admin/user/admin_user_edit.xhtml</to-view-id>
230                 </navigation-case>
231                 <navigation-case>
232                         <from-outcome>admin_delete_user</from-outcome>
233                         <to-view-id>/admin/user/admin_user_delete.xhtml</to-view-id>
234                 </navigation-case>
235                 <navigation-case>
236                         <from-outcome>admin_unlock_user</from-outcome>
237                         <to-view-id>/admin/user/admin_user_unlock.xhtml</to-view-id>
238                 </navigation-case>
239                 <navigation-case>
240                         <from-outcome>admin_edit_contact</from-outcome>
241                         <to-view-id>/admin/contact/admin_contact_edit.xhtml</to-view-id>
242                 </navigation-case>
243         </navigation-rule>
244         <navigation-rule>
245                 <from-view-id>/admin/customer/admin_customer_show.xhtml</from-view-id>
246                 <navigation-case>
247                         <from-outcome>admin_show_mobile_provider</from-outcome>
248                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_show.xhtml</to-view-id>
249                 </navigation-case>
250                 <navigation-case>
251                         <from-outcome>admin_show_contact_cellphone</from-outcome>
252                         <to-view-id>/admin/cellphone/admin_contact_cellphone_show.xhtml</to-view-id>
253                 </navigation-case>
254                 <navigation-case>
255                         <from-outcome>admin_edit_contact_cellphone</from-outcome>
256                         <to-view-id>/admin/cellphone/admin_contact_cellphone_edit.xhtml</to-view-id>
257                 </navigation-case>
258                 <navigation-case>
259                         <from-outcome>admin_unlink_contact_cellphone</from-outcome>
260                         <to-view-id>/admin/cellphone/admin_contact_cellphone_unlink.xhtml</to-view-id>
261                 </navigation-case>
262                 <navigation-case>
263                         <from-outcome>admin_delete_contact_cellphone</from-outcome>
264                         <to-view-id>/admin/cellphone/admin_contact_cellphone_delete.xhtml</to-view-id>
265                 </navigation-case>
266                 <navigation-case>
267                         <from-outcome>admin_edit_customer</from-outcome>
268                         <to-view-id>/admin/customer/admin_customer_edit.xhtml</to-view-id>
269                 </navigation-case>
270                 <navigation-case>
271                         <from-outcome>admin_delete_customer</from-outcome>
272                         <to-view-id>/admin/customer/admin_customer_delete.xhtml</to-view-id>
273                 </navigation-case>
274                 <navigation-case>
275                         <from-outcome>admin_unlock_customer</from-outcome>
276                         <to-view-id>/admin/customer/admin_customer_unlock.xhtml</to-view-id>
277                 </navigation-case>
278                 <navigation-case>
279                         <from-outcome>admin_edit_contact</from-outcome>
280                         <to-view-id>/admin/contact/admin_contact_edit.xhtml</to-view-id>
281                 </navigation-case>
282         </navigation-rule>
283         <navigation-rule>
284                 <from-view-id>/admin/contact/admin_contact_show.xhtml</from-view-id>
285                 <navigation-case>
286                         <from-outcome>admin_edit_contact</from-outcome>
287                         <to-view-id>/admin/contact/admin_contact_edit.xhtml</to-view-id>
288                 </navigation-case>
289                 <navigation-case>
290                         <from-outcome>admin_delete_contact</from-outcome>
291                         <to-view-id>/admin/contact/admin_contact_delete.xhtml</to-view-id>
292                 </navigation-case>
293                 <navigation-case>
294                         <from-outcome>admin_show_mobile_provider</from-outcome>
295                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_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-case>
306                         <from-outcome>admin_unlink_contact_cellphone</from-outcome>
307                         <to-view-id>/admin/cellphone/admin_contact_cellphone_unlink.xhtml</to-view-id>
308                 </navigation-case>
309                 <navigation-case>
310                         <from-outcome>admin_show_contact_cellphone</from-outcome>
311                         <to-view-id>/admin/cellphone/admin_contact_cellphone_show.xhtml</to-view-id>
312                 </navigation-case>
313         </navigation-rule>
314         <navigation-rule>
315                 <from-view-id>/admin/cellphone/admin_contact_cellphone_list.xhtml</from-view-id>
316                 <navigation-case>
317                         <from-outcome>admin_show_contact_cellphone</from-outcome>
318                         <to-view-id>/admin/cellphone/admin_contact_cellphone_show.xhtml</to-view-id>
319                 </navigation-case>
320                 <navigation-case>
321                         <from-outcome>admin_edit_contact_cellphone</from-outcome>
322                         <to-view-id>/admin/cellphone/admin_contact_cellphone_edit.xhtml</to-view-id>
323                 </navigation-case>
324                 <navigation-case>
325                         <from-outcome>admin_delete_contact_cellphone</from-outcome>
326                         <to-view-id>/admin/cellphone/admin_contact_cellphone_delete.xhtml</to-view-id>
327                 </navigation-case>
328         </navigation-rule>
329         <navigation-rule>
330                 <from-view-id>/admin/cellphone/admin_contact_cellphone_show.xhtml</from-view-id>
331                 <navigation-case>
332                         <from-outcome>admin_show_mobile_provider</from-outcome>
333                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_show.xhtml</to-view-id>
334                 </navigation-case>
335                 <navigation-case>
336                         <from-outcome>admin_edit_contact_cellphone</from-outcome>
337                         <to-view-id>/admin/cellphone/admin_contact_cellphone_edit.xhtml</to-view-id>
338                 </navigation-case>
339                 <navigation-case>
340                         <from-outcome>admin_delete_contact_cellphone</from-outcome>
341                         <to-view-id>/admin/cellphone/admin_contact_cellphone_delete.xhtml</to-view-id>
342                 </navigation-case>
343                 <navigation-case>
344                         <from-outcome>admin_unlink_contact_cellphone</from-outcome>
345                         <to-view-id>/admin/cellphone/admin_contact_cellphone_unlink.xhtml</to-view-id>
346                 </navigation-case>
347                 <navigation-case>
348                         <from-outcome>admin_show_contact</from-outcome>
349                         <to-view-id>/admin/contact/admin_contact_show.xhtml</to-view-id>
350                 </navigation-case>
351         </navigation-rule>
352         <navigation-rule>
353                 <from-view-id>/admin/contact/admin_contact_edit.xhtml</from-view-id>
354                 <navigation-case>
355                         <from-outcome>admin_list_contact</from-outcome>
356                         <to-view-id>/admin/contact/admin_contact_list.xhtml</to-view-id>
357                 </navigation-case>
358         </navigation-rule>
359         <navigation-rule>
360                 <from-view-id>/admin/customer/admin_customer_list.xhtml</from-view-id>
361                 <navigation-case>
362                         <from-outcome>admin_show_customer</from-outcome>
363                         <to-view-id>/admin/customer/admin_customer_show.xhtml</to-view-id>
364                 </navigation-case>
365                 <navigation-case>
366                         <from-outcome>admin_edit_customer</from-outcome>
367                         <to-view-id>/admin/customer/admin_customer_edit.xhtml</to-view-id>
368                 </navigation-case>
369                 <navigation-case>
370                         <from-outcome>admin_delete_customer</from-outcome>
371                         <to-view-id>/admin/customer/admin_customer_delete.xhtml</to-view-id>
372                 </navigation-case>
373                 <navigation-case>
374                         <from-outcome>admin_unlock_customer</from-outcome>
375                         <to-view-id>/admin/customer/admin_customer_unlock.xhtml</to-view-id>
376                 </navigation-case>
377         </navigation-rule>
378         <navigation-rule>
379                 <from-view-id>/admin/customer/admin_customer_show.xhtml</from-view-id>
380                 <navigation-case>
381                         <from-outcome>admin_edit_customer</from-outcome>
382                         <to-view-id>/admin/customer/admin_customer_edit.xhtml</to-view-id>
383                 </navigation-case>
384                 <navigation-case>
385                         <from-outcome>admin_delete_customer</from-outcome>
386                         <to-view-id>/admin/customer/admin_customer_delete.xhtml</to-view-id>
387                 </navigation-case>
388                 <navigation-case>
389                         <from-outcome>admin_unlock_customer</from-outcome>
390                         <to-view-id>/admin/customer/admin_customer_unlock.xhtml</to-view-id>
391                 </navigation-case>
392         </navigation-rule>
393         <navigation-rule>
394                 <from-view-id>/admin/contact/admin_contact_list.xhtml</from-view-id>
395                 <navigation-case>
396                         <from-outcome>admin_delete_contact</from-outcome>
397                         <to-view-id>/admin/contact/admin_contact_delete.xhtml</to-view-id>
398                 </navigation-case>
399                 <navigation-case>
400                         <from-outcome>admin_edit_contact</from-outcome>
401                         <to-view-id>/admin/contact/admin_contact_edit.xhtml</to-view-id>
402                 </navigation-case>
403                 <navigation-case>
404                         <from-outcome>admin_show_contact</from-outcome>
405                         <to-view-id>/admin/contact/admin_contact_show.xhtml</to-view-id>
406                 </navigation-case>
407         </navigation-rule>
408         <!--
409         <factory>
410                 <exception-handler-factory>
411                         org.mxchange.jcoreee.exceptions.CustomExceptionHandlerFactory
412                 </exception-handler-factory>
413         </factory>
414         //-->
415 </faces-config>