]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/faces-config.xml
a8f3430ab155db9d74f146588189a8e26e1db781
[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/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/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>basket</from-outcome>
72                         <to-view-id>/basket.xhtml</to-view-id>
73                 </navigation-case>
74                 <navigation-case>
75                         <from-outcome>exception</from-outcome>
76                         <to-view-id>/exception.xhtml</to-view-id>
77                 </navigation-case>
78                 <navigation-case>
79                         <from-outcome>admin_list_user</from-outcome>
80                         <to-view-id>/admin/admin_user_list.xhtml</to-view-id>
81                 </navigation-case>
82                 <navigation-case>
83                         <from-outcome>admin_list_countries</from-outcome>
84                         <to-view-id>/admin/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/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/admin_contact_cellphone_list.xhtml</to-view-id>
93                 </navigation-case>
94         </navigation-rule>
95         <navigation-rule>
96                 <from-view-id>/basket.xhtml</from-view-id>
97                 <navigation-case>
98                         <from-outcome>checkout</from-outcome>
99                         <to-view-id>/customer/checkout.xhtml</to-view-id>
100                 </navigation-case>
101         </navigation-rule>
102         <navigation-rule>
103                 <from-view-id>/customer/checkout.xhtml</from-view-id>
104                 <navigation-case>
105                         <from-outcome>checkout2</from-outcome>
106                         <to-view-id>/customer/checkout2.xhtml</to-view-id>
107                 </navigation-case>
108         </navigation-rule>
109         <navigation-rule>
110                 <from-view-id>/index.xhtml</from-view-id>
111                 <navigation-case>
112                         <from-outcome>item_added</from-outcome>
113                         <to-view-id>/item_added.xhtml</to-view-id>
114                 </navigation-case>
115         </navigation-rule>
116         <navigation-rule>
117                 <from-view-id>/customer/checkout2.xhtml</from-view-id>
118                 <navigation-case>
119                         <from-outcome>checkout_done</from-outcome>
120                         <to-view-id>/customer/checkout_done.xhtml</to-view-id>
121                 </navigation-case>
122                 <navigation-case>
123                         <from-outcome>empty_basket</from-outcome>
124                         <to-view-id>/customer/empty_basket.xhtml</to-view-id>
125                 </navigation-case>
126         </navigation-rule>
127         <navigation-rule>
128                 <from-view-id>/admin/admin_logout.xhtml</from-view-id>
129                 <navigation-case>
130                         <from-outcome>index</from-outcome>
131                         <to-view-id>/*</to-view-id>
132                 </navigation-case>
133         </navigation-rule>
134         <navigation-rule>
135                 <from-view-id>/admin/admin_product_list.xhtml</from-view-id>
136                 <navigation-case>
137                         <from-outcome>admin_edit_product</from-outcome>
138                         <to-view-id>/admin/admin_product_edit.xhtml</to-view-id>
139                 </navigation-case>
140                 <navigation-case>
141                         <from-outcome>admin_delete_product</from-outcome>
142                         <to-view-id>/admin/admin_product_delete.xhtml</to-view-id>
143                 </navigation-case>
144         </navigation-rule>
145         <navigation-rule>
146                 <from-view-id>/admin/admin_category_list.xhtml</from-view-id>
147                 <navigation-case>
148                         <from-outcome>admin_edit_category</from-outcome>
149                         <to-view-id>/admin/admin_category_edit.xhtml</to-view-id>
150                 </navigation-case>
151                 <navigation-case>
152                         <from-outcome>admin_delete_category</from-outcome>
153                         <to-view-id>/admin/admin_category_delete.xhtml</to-view-id>
154                 </navigation-case>
155         </navigation-rule>
156         <navigation-rule>
157                 <from-view-id>/admin/admin_country_list.xhtml</from-view-id>
158                 <navigation-case>
159                         <from-outcome>admin_edit_country</from-outcome>
160                         <to-view-id>/admin/admin_country_edit.xhtml</to-view-id>
161                 </navigation-case>
162                 <navigation-case>
163                         <from-outcome>admin_delete_country</from-outcome>
164                         <to-view-id>/admin/admin_country_delete.xhtml</to-view-id>
165                 </navigation-case>
166         </navigation-rule>
167         <navigation-rule>
168                 <from-view-id>/admin/admin_mobile_provider_list.xhtml</from-view-id>
169                 <navigation-case>
170                         <from-outcome>admin_edit_mobile_provider</from-outcome>
171                         <to-view-id>/admin/admin_mobile_provider_edit.xhtml</to-view-id>
172                 </navigation-case>
173                 <navigation-case>
174                         <from-outcome>admin_delete_mobile_provider</from-outcome>
175                         <to-view-id>/admin/admin_mobile_provider_delete.xhtml</to-view-id>
176                 </navigation-case>
177                 <navigation-case>
178                         <from-outcome>admin_show_mobile_provider</from-outcome>
179                         <to-view-id>/admin/admin_mobile_provider_show.xhtml</to-view-id>
180                 </navigation-case>
181         </navigation-rule>
182         <navigation-rule>
183                 <from-view-id>/admin/admin_user_list.xhtml</from-view-id>
184                 <navigation-case>
185                         <from-outcome>admin_show_user</from-outcome>
186                         <to-view-id>/admin/admin_user_show.xhtml</to-view-id>
187                 </navigation-case>
188                 <navigation-case>
189                         <from-outcome>admin_edit_user</from-outcome>
190                         <to-view-id>/admin/admin_user_edit.xhtml</to-view-id>
191                 </navigation-case>
192                 <navigation-case>
193                         <from-outcome>admin_delete_user</from-outcome>
194                         <to-view-id>/admin/admin_user_delete.xhtml</to-view-id>
195                 </navigation-case>
196                 <navigation-case>
197                         <from-outcome>admin_unlock_user</from-outcome>
198                         <to-view-id>/admin/admin_user_unlock.xhtml</to-view-id>
199                 </navigation-case>
200         </navigation-rule>
201         <navigation-rule>
202                 <from-view-id>/admin/admin_user_show.xhtml</from-view-id>
203                 <navigation-case>
204                         <from-outcome>admin_show_contact_cellphone</from-outcome>
205                         <to-view-id>/admin/admin_contact_cellphone_show.xhtml</to-view-id>
206                 </navigation-case>
207                 <navigation-case>
208                         <from-outcome>admin_edit_contact_cellphone</from-outcome>
209                         <to-view-id>/admin/admin_contact_cellphone_edit.xhtml</to-view-id>
210                 </navigation-case>
211                 <navigation-case>
212                         <from-outcome>admin_unlink_contact_cellphone</from-outcome>
213                         <to-view-id>/admin/admin_contact_cellphone_unlink.xhtml</to-view-id>
214                 </navigation-case>
215                 <navigation-case>
216                         <from-outcome>admin_delete_contact_cellphone</from-outcome>
217                         <to-view-id>/admin/admin_contact_cellphone_delete.xhtml</to-view-id>
218                 </navigation-case>
219                 <navigation-case>
220                         <from-outcome>admin_edit_user</from-outcome>
221                         <to-view-id>/admin/admin_user_edit.xhtml</to-view-id>
222                 </navigation-case>
223                 <navigation-case>
224                         <from-outcome>admin_delete_user</from-outcome>
225                         <to-view-id>/admin/admin_user_delete.xhtml</to-view-id>
226                 </navigation-case>
227                 <navigation-case>
228                         <from-outcome>admin_unlock_user</from-outcome>
229                         <to-view-id>/admin/admin_user_unlock.xhtml</to-view-id>
230                 </navigation-case>
231                 <navigation-case>
232                         <from-outcome>admin_show_mobile_provider</from-outcome>
233                         <to-view-id>/admin/admin_mobile_provider_show.xhtml</to-view-id>
234                 </navigation-case>
235         </navigation-rule>
236         <navigation-rule>
237                 <from-view-id>/admin/admin_contact_cellphone_list.xhtml</from-view-id>
238                 <navigation-case>
239                         <from-outcome>admin_show_contact_cellphone</from-outcome>
240                         <to-view-id>/admin/admin_contact_cellphone_show.xhtml</to-view-id>
241                 </navigation-case>
242                 <navigation-case>
243                         <from-outcome>admin_edit_contact_cellphone</from-outcome>
244                         <to-view-id>/admin/admin_contact_cellphone_edit.xhtml</to-view-id>
245                 </navigation-case>
246                 <navigation-case>
247                         <from-outcome>admin_delete_contact_cellphone</from-outcome>
248                         <to-view-id>/admin/admin_contact_cellphone_delete.xhtml</to-view-id>
249                 </navigation-case>
250         </navigation-rule>
251         <navigation-rule>
252                 <from-view-id>/admin/admin_contact_cellphone_show.xhtml</from-view-id>
253                 <navigation-case>
254                         <from-outcome>admin_show_mobile_provider</from-outcome>
255                         <to-view-id>/admin/admin_mobile_provider_show.xhtml</to-view-id>
256                 </navigation-case>
257                 <navigation-case>
258                         <from-outcome>admin_edit_contact_cellphone</from-outcome>
259                         <to-view-id>/admin/admin_contact_cellphone_edit.xhtml</to-view-id>
260                 </navigation-case>
261                 <navigation-case>
262                         <from-outcome>admin_delete_contact_cellphone</from-outcome>
263                         <to-view-id>/admin/admin_contact_cellphone_delete.xhtml</to-view-id>
264                 </navigation-case>
265                 <navigation-case>
266                         <from-outcome>admin_unlink_contact_cellphone</from-outcome>
267                         <to-view-id>/admin/admin_contact_cellphone_unlink.xhtml</to-view-id>
268                 </navigation-case>
269                 <navigation-case>
270                         <from-outcome>admin_show_contact</from-outcome>
271                         <to-view-id>/admin/admin_contact_show.xhtml</to-view-id>
272                 </navigation-case>
273         </navigation-rule>
274         <!--
275         <factory>
276                 <exception-handler-factory>
277                         org.mxchange.jcoreee.exceptions.CustomExceptionHandlerFactory
278                 </exception-handler-factory>
279         </factory>
280         //-->
281 </faces-config>