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/product.xhtml</to-view-id>
63 <from-outcome>admin_category</from-outcome>
64 <to-view-id>/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>
80 <from-view-id>/basket.xhtml</from-view-id>
82 <from-outcome>checkout</from-outcome>
83 <to-view-id>/customer/checkout.xhtml</to-view-id>
87 <from-view-id>/customer/checkout.xhtml</from-view-id>
89 <from-outcome>checkout2</from-outcome>
90 <to-view-id>/customer/checkout2.xhtml</to-view-id>
94 <from-view-id>/index.xhtml</from-view-id>
96 <from-outcome>item_added</from-outcome>
97 <to-view-id>/item_added.xhtml</to-view-id>
101 <from-view-id>/customer/checkout2.xhtml</from-view-id>
103 <from-outcome>checkout_done</from-outcome>
104 <to-view-id>/customer/checkout_done.xhtml</to-view-id>
107 <from-outcome>empty_basket</from-outcome>
108 <to-view-id>/customer/empty_basket.xhtml</to-view-id>
112 <from-view-id>/admin/admin_logout.xhtml</from-view-id>
114 <from-outcome>index</from-outcome>
115 <to-view-id>/*</to-view-id>
120 <default-locale>de</default-locale>
121 <supported-locale>en_US</supported-locale>