]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/faces-config.xml
added menu for listing contacts
[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         <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>ItemAmountValidator</validator-id>
22                 <validator-class>org.mxchange.jcoreee.validator.number.item_amount.ItemAmountValidator</validator-class>
23         </validator>
24         <navigation-rule>
25                 <from-view-id>*</from-view-id>
26                 <navigation-case>
27                         <from-outcome>customer_register</from-outcome>
28                         <to-view-id>/customer/register.xhtml</to-view-id>
29                 </navigation-case>
30                 <navigation-case>
31                         <from-outcome>index</from-outcome>
32                         <to-view-id>/index.xhtml</to-view-id>
33                 </navigation-case>
34                 <navigation-case>
35                         <from-outcome>customer_lost_passwd</from-outcome>
36                         <to-view-id>/customer/lost_passwd.xhtml</to-view-id>
37                 </navigation-case>
38                 <navigation-case>
39                         <from-outcome>customer_login</from-outcome>
40                         <to-view-id>/customer/login.xhtml</to-view-id>
41                 </navigation-case>
42                 <navigation-case>
43                         <from-outcome>terms</from-outcome>
44                         <to-view-id>/terms.xhtml</to-view-id>
45                 </navigation-case>
46                 <navigation-case>
47                         <from-outcome>privacy</from-outcome>
48                         <to-view-id>/privacy.xhtml</to-view-id>
49                 </navigation-case>
50                 <navigation-case>
51                         <from-outcome>imprint</from-outcome>
52                         <to-view-id>/imprint.xhtml</to-view-id>
53                 </navigation-case>
54                 <navigation-case>
55                         <from-outcome>logout</from-outcome>
56                         <to-view-id>/logout.xhtml</to-view-id>
57                 </navigation-case>
58                 <navigation-case>
59                         <from-outcome>admin_product</from-outcome>
60                         <to-view-id>/admin/product/admin_product_list.xhtml</to-view-id>
61                 </navigation-case>
62                 <navigation-case>
63                         <from-outcome>admin_category</from-outcome>
64                         <to-view-id>/admin/category/admin_category_list.xhtml</to-view-id>
65                 </navigation-case>
66                 <navigation-case>
67                         <from-outcome>admin_index</from-outcome>
68                         <to-view-id>/admin/index.xhtml</to-view-id>
69                 </navigation-case>
70                 <navigation-case>
71                         <from-outcome>admin_logout</from-outcome>
72                         <to-view-id>/admin/admin_logout.xhtml</to-view-id>
73                 </navigation-case>
74                 <navigation-case>
75                         <from-outcome>basket</from-outcome>
76                         <to-view-id>/basket.xhtml</to-view-id>
77                 </navigation-case>
78                 <navigation-case>
79                         <from-outcome>exception</from-outcome>
80                         <to-view-id>/exception.xhtml</to-view-id>
81                 </navigation-case>
82                 <navigation-case>
83                         <from-outcome>admin_list_user</from-outcome>
84                         <to-view-id>/admin/user/admin_user_list.xhtml</to-view-id>
85                 </navigation-case>
86                 <navigation-case>
87                         <from-outcome>admin_list_contact</from-outcome>
88                         <to-view-id>/admin/contact/admin_contact_list.xhtml</to-view-id>
89                 </navigation-case>
90                 <navigation-case>
91                         <from-outcome>admin_list_countries</from-outcome>
92                         <to-view-id>/admin/country/admin_country_list.xhtml</to-view-id>
93                 </navigation-case>
94                 <navigation-case>
95                         <from-outcome>admin_list_mobile_provider</from-outcome>
96                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_list.xhtml</to-view-id>
97                 </navigation-case>
98                 <navigation-case>
99                         <from-outcome>admin_list_contact_cellphone</from-outcome>
100                         <to-view-id>/admin/cellphone/admin_contact_cellphone_list.xhtml</to-view-id>
101                 </navigation-case>
102                 <navigation-case>
103                         <from-outcome>admin_list_customer</from-outcome>
104                         <to-view-id>/admin/customer/admin_customer_list.xhtml</to-view-id>
105                 </navigation-case>
106         </navigation-rule>
107         <navigation-rule>
108                 <from-view-id>/basket.xhtml</from-view-id>
109                 <navigation-case>
110                         <from-outcome>checkout</from-outcome>
111                         <to-view-id>/customer/checkout.xhtml</to-view-id>
112                 </navigation-case>
113         </navigation-rule>
114         <navigation-rule>
115                 <from-view-id>/customer/checkout.xhtml</from-view-id>
116                 <navigation-case>
117                         <from-outcome>checkout2</from-outcome>
118                         <to-view-id>/customer/checkout2.xhtml</to-view-id>
119                 </navigation-case>
120         </navigation-rule>
121         <navigation-rule>
122                 <from-view-id>/index.xhtml</from-view-id>
123                 <navigation-case>
124                         <from-outcome>item_added</from-outcome>
125                         <to-view-id>/item_added.xhtml</to-view-id>
126                 </navigation-case>
127         </navigation-rule>
128         <navigation-rule>
129                 <from-view-id>/customer/checkout2.xhtml</from-view-id>
130                 <navigation-case>
131                         <from-outcome>checkout_done</from-outcome>
132                         <to-view-id>/customer/checkout_done.xhtml</to-view-id>
133                 </navigation-case>
134                 <navigation-case>
135                         <from-outcome>empty_basket</from-outcome>
136                         <to-view-id>/customer/empty_basket.xhtml</to-view-id>
137                 </navigation-case>
138         </navigation-rule>
139         <navigation-rule>
140                 <from-view-id>/admin/admin_logout.xhtml</from-view-id>
141                 <navigation-case>
142                         <from-outcome>index</from-outcome>
143                         <to-view-id>/*</to-view-id>
144                 </navigation-case>
145         </navigation-rule>
146         <navigation-rule>
147                 <from-view-id>/admin/product/admin_product_list.xhtml</from-view-id>
148                 <navigation-case>
149                         <from-outcome>contact_data_saved</from-outcome>
150                         <to-view-id>/login/login_contact_data_saved.xhtml</to-view-id>
151                 </navigation-case>
152                 <navigation-case>
153                         <from-outcome>admin_delete_product</from-outcome>
154                         <to-view-id>/admin/product/admin_product_delete.xhtml</to-view-id>
155                 </navigation-case>
156         </navigation-rule>
157         <navigation-rule>
158                 <from-view-id>/admin/category/admin_category_list.xhtml</from-view-id>
159                 <navigation-case>
160                         <from-outcome>admin_edit_category</from-outcome>
161                         <to-view-id>/admin/category/admin_category_edit.xhtml</to-view-id>
162                 </navigation-case>
163                 <navigation-case>
164                         <from-outcome>admin_delete_category</from-outcome>
165                         <to-view-id>/admin/category/admin_category_delete.xhtml</to-view-id>
166                 </navigation-case>
167         </navigation-rule>
168         <navigation-rule>
169                 <from-view-id>/admin/country/admin_country_list.xhtml</from-view-id>
170                 <navigation-case>
171                         <from-outcome>admin_edit_country</from-outcome>
172                         <to-view-id>/admin/country/admin_country_edit.xhtml</to-view-id>
173                 </navigation-case>
174                 <navigation-case>
175                         <from-outcome>admin_delete_country</from-outcome>
176                         <to-view-id>/admin/country/admin_country_delete.xhtml</to-view-id>
177                 </navigation-case>
178         </navigation-rule>
179         <navigation-rule>
180                 <from-view-id>/admin/mobile_provider/admin_mobile_provider_list.xhtml</from-view-id>
181                 <navigation-case>
182                         <from-outcome>admin_edit_mobile_provider</from-outcome>
183                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_edit.xhtml</to-view-id>
184                 </navigation-case>
185                 <navigation-case>
186                         <from-outcome>admin_delete_mobile_provider</from-outcome>
187                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_delete.xhtml</to-view-id>
188                 </navigation-case>
189                 <navigation-case>
190                         <from-outcome>admin_show_mobile_provider</from-outcome>
191                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_show.xhtml</to-view-id>
192                 </navigation-case>
193         </navigation-rule>
194         <navigation-rule>
195                 <from-view-id>/admin/user/admin_user_list.xhtml</from-view-id>
196                 <navigation-case>
197                         <from-outcome>admin_show_user</from-outcome>
198                         <to-view-id>/admin/user/admin_user_show.xhtml</to-view-id>
199                 </navigation-case>
200                 <navigation-case>
201                         <from-outcome>admin_edit_user</from-outcome>
202                         <to-view-id>/admin/user/admin_user_edit.xhtml</to-view-id>
203                 </navigation-case>
204                 <navigation-case>
205                         <from-outcome>admin_delete_user</from-outcome>
206                         <to-view-id>/admin/user/admin_user_delete.xhtml</to-view-id>
207                 </navigation-case>
208                 <navigation-case>
209                         <from-outcome>admin_unlock_user</from-outcome>
210                         <to-view-id>/admin/user/admin_user_unlock.xhtml</to-view-id>
211                 </navigation-case>
212         </navigation-rule>
213         <navigation-rule>
214                 <from-view-id>/admin/user/admin_user_show.xhtml</from-view-id>
215                 <navigation-case>
216                         <from-outcome>admin_show_contact_cellphone</from-outcome>
217                         <to-view-id>/admin/cellphone/admin_contact_cellphone_show.xhtml</to-view-id>
218                 </navigation-case>
219                 <navigation-case>
220                         <from-outcome>admin_edit_contact_cellphone</from-outcome>
221                         <to-view-id>/admin/cellphone/admin_contact_cellphone_edit.xhtml</to-view-id>
222                 </navigation-case>
223                 <navigation-case>
224                         <from-outcome>admin_unlink_contact_cellphone</from-outcome>
225                         <to-view-id>/admin/cellphone/admin_contact_cellphone_unlink.xhtml</to-view-id>
226                 </navigation-case>
227                 <navigation-case>
228                         <from-outcome>admin_delete_contact_cellphone</from-outcome>
229                         <to-view-id>/admin/cellphone/admin_contact_cellphone_delete.xhtml</to-view-id>
230                 </navigation-case>
231                 <navigation-case>
232                         <from-outcome>admin_edit_user</from-outcome>
233                         <to-view-id>/admin/user/admin_user_edit.xhtml</to-view-id>
234                 </navigation-case>
235                 <navigation-case>
236                         <from-outcome>admin_delete_user</from-outcome>
237                         <to-view-id>/admin/user/admin_user_delete.xhtml</to-view-id>
238                 </navigation-case>
239                 <navigation-case>
240                         <from-outcome>admin_unlock_user</from-outcome>
241                         <to-view-id>/admin/user/admin_user_unlock.xhtml</to-view-id>
242                 </navigation-case>
243                 <navigation-case>
244                         <from-outcome>admin_edit_contact</from-outcome>
245                         <to-view-id>/admin/contact/admin_contact_edit.xhtml</to-view-id>
246                 </navigation-case>
247                 <navigation-case>
248                         <from-outcome>admin_show_mobile_provider</from-outcome>
249                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_show.xhtml</to-view-id>
250                 </navigation-case>
251         </navigation-rule>
252         <navigation-rule>
253                 <from-view-id>/admin/cellphone/admin_contact_cellphone_list.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_delete_contact_cellphone</from-outcome>
264                         <to-view-id>/admin/cellphone/admin_contact_cellphone_delete.xhtml</to-view-id>
265                 </navigation-case>
266         </navigation-rule>
267         <navigation-rule>
268                 <from-view-id>/admin/cellphone/admin_contact_cellphone_show.xhtml</from-view-id>
269                 <navigation-case>
270                         <from-outcome>admin_show_mobile_provider</from-outcome>
271                         <to-view-id>/admin/mobile_provider/admin_mobile_provider_show.xhtml</to-view-id>
272                 </navigation-case>
273                 <navigation-case>
274                         <from-outcome>admin_edit_contact_cellphone</from-outcome>
275                         <to-view-id>/admin/cellphone/admin_contact_cellphone_edit.xhtml</to-view-id>
276                 </navigation-case>
277                 <navigation-case>
278                         <from-outcome>admin_delete_contact_cellphone</from-outcome>
279                         <to-view-id>/admin/cellphone/admin_contact_cellphone_delete.xhtml</to-view-id>
280                 </navigation-case>
281                 <navigation-case>
282                         <from-outcome>admin_unlink_contact_cellphone</from-outcome>
283                         <to-view-id>/admin/cellphone/admin_contact_cellphone_unlink.xhtml</to-view-id>
284                 </navigation-case>
285                 <navigation-case>
286                         <from-outcome>admin_show_contact</from-outcome>
287                         <to-view-id>/admin/contact/admin_contact_show.xhtml</to-view-id>
288                 </navigation-case>
289         </navigation-rule>
290         <navigation-rule>
291                 <from-view-id>/admin/contact/admin_contact_edit.xhtml</from-view-id>
292                 <navigation-case>
293                         <from-outcome>admin_list_contact</from-outcome>
294                         <to-view-id>/admin/contact/admin_contact_list.xhtml</to-view-id>
295                 </navigation-case>
296         </navigation-rule>
297         <navigation-rule>
298                 <from-view-id>/admin/customer/admin_customer_list.xhtml</from-view-id>
299                 <navigation-case>
300                         <from-outcome>admin_show_customer</from-outcome>
301                         <to-view-id>/admin/customer/admin_customer_show.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-rule>
316         <navigation-rule>
317                 <from-view-id>/admin/customer/admin_customer_show.xhtml</from-view-id>
318                 <navigation-case>
319                         <from-outcome>admin_edit_customer</from-outcome>
320                         <to-view-id>/admin/customer/admin_customer_edit.xhtml</to-view-id>
321                 </navigation-case>
322                 <navigation-case>
323                         <from-outcome>admin_delete_customer</from-outcome>
324                         <to-view-id>/admin/customer/admin_customer_delete.xhtml</to-view-id>
325                 </navigation-case>
326                 <navigation-case>
327                         <from-outcome>admin_unlock_customer</from-outcome>
328                         <to-view-id>/admin/customer/admin_customer_unlock.xhtml</to-view-id>
329                 </navigation-case>
330         </navigation-rule>
331         <navigation-rule>
332                 <from-view-id>/admin/contact/admin_contact_list.xhtml</from-view-id>
333                 <navigation-case>
334                         <from-outcome>admin_delete_contact</from-outcome>
335                         <to-view-id>/admin/contact/admin_contact_delete.xhtml</to-view-id>
336                 </navigation-case>
337                 <navigation-case>
338                         <from-outcome>admin_edit_contact</from-outcome>
339                         <to-view-id>/admin/contact/admin_contact_edit.xhtml</to-view-id>
340                 </navigation-case>
341                 <navigation-case>
342                         <from-outcome>admin_show_contact</from-outcome>
343                         <to-view-id>/admin/contact/admin_contact_show.xhtml</to-view-id>
344                 </navigation-case>
345         </navigation-rule>
346         <!--
347         <factory>
348                 <exception-handler-factory>
349                         org.mxchange.jcoreee.exceptions.CustomExceptionHandlerFactory
350                 </exception-handler-factory>
351         </factory>
352         //-->
353 </faces-config>