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">
8 <default-locale>de_DE</default-locale>
9 <supported-locale>en_US</supported-locale>
13 <validator-id>PrivacyTermsCheckboxValidator</validator-id>
14 <validator-class>org.mxchange.jcoreee.validator.bool.privacy_terms.PrivacyTermsCheckboxValidator</validator-class>
17 <validator-id>NameValidator</validator-id>
18 <validator-class>org.mxchange.jcoreee.validator.string.names.NameValidator</validator-class>
21 <validator-id>ItemAmountValidator</validator-id>
22 <validator-class>org.mxchange.jcoreee.validator.number.item_amount.ItemAmountValidator</validator-class>
25 <from-view-id>*</from-view-id>
27 <from-outcome>customer_register</from-outcome>
28 <to-view-id>/customer/register.xhtml</to-view-id>
31 <from-outcome>index</from-outcome>
32 <to-view-id>/index.xhtml</to-view-id>
35 <from-outcome>customer_lost_passwd</from-outcome>
36 <to-view-id>/customer/lost_passwd.xhtml</to-view-id>
39 <from-outcome>customer_login</from-outcome>
40 <to-view-id>/customer/login.xhtml</to-view-id>
43 <from-outcome>terms</from-outcome>
44 <to-view-id>/terms.xhtml</to-view-id>
47 <from-outcome>privacy</from-outcome>
48 <to-view-id>/privacy.xhtml</to-view-id>
51 <from-outcome>imprint</from-outcome>
52 <to-view-id>/imprint.xhtml</to-view-id>
55 <from-outcome>logout</from-outcome>
56 <to-view-id>/logout.xhtml</to-view-id>
59 <from-outcome>admin_product</from-outcome>
60 <to-view-id>/admin/admin_product.xhtml</to-view-id>
63 <from-outcome>admin_category</from-outcome>
64 <to-view-id>/admin/admin_category.xhtml</to-view-id>
67 <from-outcome>admin_index</from-outcome>
68 <to-view-id>/admin/index.xhtml</to-view-id>
71 <from-outcome>basket</from-outcome>
72 <to-view-id>/basket.xhtml</to-view-id>
75 <from-outcome>item_not_changed</from-outcome>
76 <to-view-id>/errorHandler.xhtml</to-view-id>
79 <from-outcome>admin_delete_user</from-outcome>
80 <to-view-id>/admin/admin_user_delete.xhtml</to-view-id>
83 <from-outcome>admin_list_user</from-outcome>
84 <to-view-id>/admin/admin_user_list.xhtml</to-view-id>
87 <from-outcome>admin_edit_user</from-outcome>
88 <to-view-id>/admin/admin_user_edit.xhtml</to-view-id>
91 <from-outcome>admin_unlock_user</from-outcome>
92 <to-view-id>/admin/admin_user_unlock.xhtml</to-view-id>
95 <from-outcome>admin_add_user</from-outcome>
96 <to-view-id>/admin/admin_user_add.xhtml</to-view-id>
100 <from-view-id>/basket.xhtml</from-view-id>
102 <from-outcome>checkout</from-outcome>
103 <to-view-id>/customer/checkout.xhtml</to-view-id>
107 <from-view-id>/customer/checkout.xhtml</from-view-id>
109 <from-outcome>checkout2</from-outcome>
110 <to-view-id>/customer/checkout2.xhtml</to-view-id>
114 <from-view-id>/index.xhtml</from-view-id>
116 <from-outcome>item_added</from-outcome>
117 <to-view-id>/item_added.xhtml</to-view-id>
121 <from-view-id>/customer/checkout2.xhtml</from-view-id>
123 <from-outcome>checkout_done</from-outcome>
124 <to-view-id>/customer/checkout_done.xhtml</to-view-id>
127 <from-outcome>empty_basket</from-outcome>
128 <to-view-id>/customer/empty_basket.xhtml</to-view-id>
132 <from-view-id>/admin/admin_logout.xhtml</from-view-id>
134 <from-outcome>index</from-outcome>
135 <to-view-id>/*</to-view-id>