xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd">
+ <application>
+ <locale-config>
+ <default-locale>de_DE</default-locale>
+ <supported-locale>en_US</supported-locale>
+ </locale-config>
+ </application>
<validator>
<validator-id>PrivacyTermsCheckboxValidator</validator-id>
- <validator-class>org.mxchange.jsfcore.validator.bool.privacy_terms.PrivacyTermsCheckboxValidator</validator-class>
+ <validator-class>org.mxchange.jcoreee.validator.bool.privacy_terms.PrivacyTermsCheckboxValidator</validator-class>
</validator>
<validator>
<validator-id>NameValidator</validator-id>
- <validator-class>org.mxchange.jsfcore.validator.string.names.NameValidator</validator-class>
+ <validator-class>org.mxchange.jcoreee.validator.string.names.NameValidator</validator-class>
</validator>
+ <validator>
+ <validator-id>ItemAmountValidator</validator-id>
+ <validator-class>org.mxchange.jcoreee.validator.number.item_amount.ItemAmountValidator</validator-class>
+ </validator>
+ <navigation-rule>
+ <from-view-id>*</from-view-id>
+ <navigation-case>
+ <from-outcome>customer_register</from-outcome>
+ <to-view-id>/customer/register.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>index</from-outcome>
+ <to-view-id>/index.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>customer_lost_passwd</from-outcome>
+ <to-view-id>/customer/lost_passwd.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>customer_login</from-outcome>
+ <to-view-id>/customer/login.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>terms</from-outcome>
+ <to-view-id>/terms.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>privacy</from-outcome>
+ <to-view-id>/privacy.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>imprint</from-outcome>
+ <to-view-id>/imprint.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>logout</from-outcome>
+ <to-view-id>/logout.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>admin_product</from-outcome>
+ <to-view-id>/admin/admin_product.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>admin_category</from-outcome>
+ <to-view-id>/admin/admin_category.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>admin_index</from-outcome>
+ <to-view-id>/admin/index.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>basket</from-outcome>
+ <to-view-id>/basket.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>item_not_changed</from-outcome>
+ <to-view-id>/errorHandler.xhtml</to-view-id>
+ </navigation-case>
+ </navigation-rule>
+ <navigation-rule>
+ <from-view-id>/basket.xhtml</from-view-id>
+ <navigation-case>
+ <from-outcome>checkout</from-outcome>
+ <to-view-id>/customer/checkout.xhtml</to-view-id>
+ </navigation-case>
+ </navigation-rule>
+ <navigation-rule>
+ <from-view-id>/customer/checkout.xhtml</from-view-id>
+ <navigation-case>
+ <from-outcome>checkout2</from-outcome>
+ <to-view-id>/customer/checkout2.xhtml</to-view-id>
+ </navigation-case>
+ </navigation-rule>
+ <navigation-rule>
+ <from-view-id>/index.xhtml</from-view-id>
+ <navigation-case>
+ <from-outcome>item_added</from-outcome>
+ <to-view-id>/item_added.xhtml</to-view-id>
+ </navigation-case>
+ </navigation-rule>
+ <navigation-rule>
+ <from-view-id>/customer/checkout2.xhtml</from-view-id>
+ <navigation-case>
+ <from-outcome>checkout_done</from-outcome>
+ <to-view-id>/customer/checkout_done.xhtml</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>empty_basket</from-outcome>
+ <to-view-id>/customer/empty_basket.xhtml</to-view-id>
+ </navigation-case>
+ </navigation-rule>
+ <navigation-rule>
+ <from-view-id>/admin/admin_logout.xhtml</from-view-id>
+ <navigation-case>
+ <from-outcome>index</from-outcome>
+ <to-view-id>/*</to-view-id>
+ </navigation-case>
+ </navigation-rule>
+ <application>
+ <locale-config>
+ <default-locale>de</default-locale>
+ <supported-locale>en_US</supported-locale>
+ </locale-config>
+ </application>
</faces-config>