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">
7 <validator-id>PrivacyTermsCheckboxValidator</validator-id>
8 <validator-class>org.mxchange.jcoreee.validator.bool.privacy_terms.PrivacyTermsCheckboxValidator</validator-class>
11 <validator-id>NameValidator</validator-id>
12 <validator-class>org.mxchange.jcoreee.validator.string.names.NameValidator</validator-class>
15 <validator-id>ItemAmountValidator</validator-id>
16 <validator-class>org.mxchange.jcoreee.validator.number.item_amount.ItemAmountValidator</validator-class>
19 <from-view-id>*</from-view-id>
21 <from-outcome>customer_register</from-outcome>
22 <to-view-id>/customer/register.xhtml</to-view-id>
25 <from-outcome>index</from-outcome>
26 <to-view-id>/index.xhtml</to-view-id>
29 <from-outcome>customer_lost_passwd</from-outcome>
30 <to-view-id>/customer/lost_passwd.xhtml</to-view-id>
33 <from-outcome>customer_login</from-outcome>
34 <to-view-id>/customer/login.xhtml</to-view-id>
37 <from-outcome>terms</from-outcome>
38 <to-view-id>/terms.xhtml</to-view-id>
41 <from-outcome>privacy</from-outcome>
42 <to-view-id>/privacy.xhtml</to-view-id>
45 <from-outcome>imprint</from-outcome>
46 <to-view-id>/imprint.xhtml</to-view-id>
49 <from-outcome>logout</from-outcome>
50 <to-view-id>/bye.xhtml</to-view-id>
53 <from-outcome>admin_product</from-outcome>
54 <to-view-id>/admin/product.xhtml</to-view-id>
57 <from-outcome>admin_category</from-outcome>
58 <to-view-id>/admin/category.xhtml</to-view-id>
61 <from-outcome>admin_index</from-outcome>
62 <to-view-id>/admin/index.xhtml</to-view-id>
65 <from-outcome>basket</from-outcome>
66 <to-view-id>/basket.xhtml</to-view-id>
69 <from-outcome>item_not_changed</from-outcome>
70 <to-view-id>/errorHandler.xhtml</to-view-id>
74 <from-view-id>/basket.xhtml</from-view-id>
76 <from-outcome>checkout</from-outcome>
77 <to-view-id>/customer/checkout.xhtml</to-view-id>
81 <from-view-id>/customer/checkout.xhtml</from-view-id>
83 <from-outcome>checkout2</from-outcome>
84 <to-view-id>/customer/checkout2.xhtml</to-view-id>
88 <from-view-id>/index.xhtml</from-view-id>
90 <from-outcome>item_added</from-outcome>
91 <to-view-id>/item_added.xhtml</to-view-id>
95 <from-view-id>/customer/checkout2.xhtml</from-view-id>
97 <from-outcome>checkout_done</from-outcome>
98 <to-view-id>/customer/checkout_done.xhtml</to-view-id>
101 <from-outcome>empty_basket</from-outcome>
102 <to-view-id>/customer/empty_basket.xhtml</to-view-id>
106 <from-view-id>/admin/admin_logout.xhtml</from-view-id>
108 <from-outcome>index</from-outcome>
109 <to-view-id>/*</to-view-id>
114 <default-locale>de</default-locale>
115 <supported-locale>en_US</supported-locale>