]> git.mxchange.org Git - addressbook-war.git/blob - web/WEB-INF/faces-config.xml
Continued:
[addressbook-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         <validator>
7                 <validator-id>PrivacyTermsCheckboxValidator</validator-id>
8                 <validator-class>org.mxchange.jcoreee.validator.bool.privacy_terms.PrivacyTermsCheckboxValidator</validator-class>
9         </validator>
10         <validator>
11                 <validator-id>NameValidator</validator-id>
12                 <validator-class>org.mxchange.jcoreee.validator.string.names.NameValidator</validator-class>
13         </validator>
14         <validator>
15                 <validator-id>AddressbookNameValidator</validator-id>
16                 <validator-class>org.mxchange.addressbook.validator.names.AddressbookNameValidator</validator-class>
17         </validator>
18         <validator>
19                 <validator-id>PhoneNumberValidator</validator-id>
20                 <validator-class>org.mxchange.jphone.validators.PhoneNumberValidator</validator-class>
21         </validator>
22         <validator>
23                 <validator-id>AddressbookIdValidator</validator-id>
24                 <validator-class>org.mxchange.addressbook.validator.addressbook.AddressbookIdValidator</validator-class>
25         </validator>
26         <validator>
27                 <validator-id>UserProfileVisibilityValidator</validator-id>
28                 <validator-class>org.mxchange.addressbook.validator.booleans.UserProfileVisibilityValidator</validator-class>
29         </validator>
30         <navigation-rule>
31                 <from-view-id>*</from-view-id>
32                 <navigation-case>
33                         <from-outcome>index</from-outcome>
34                         <to-view-id>/index.xhtml</to-view-id>
35                 </navigation-case>
36                 <navigation-case>
37                         <from-outcome>user_register</from-outcome>
38                         <to-view-id>/user/register.xhtml</to-view-id>
39                 </navigation-case>
40                 <navigation-case>
41                         <from-outcome>user_login</from-outcome>
42                         <to-view-id>/user/login.xhtml</to-view-id>
43                 </navigation-case>
44                 <navigation-case>
45                         <from-outcome>user_lost_passwd</from-outcome>
46                         <to-view-id>/user/lost_passwd.xhtml</to-view-id>
47                 </navigation-case>
48                 <navigation-case>
49                         <from-outcome>terms</from-outcome>
50                         <to-view-id>/terms.xhtml</to-view-id>
51                 </navigation-case>
52                 <navigation-case>
53                         <from-outcome>privacy</from-outcome>
54                         <to-view-id>/privacy.xhtml</to-view-id>
55                 </navigation-case>
56                 <navigation-case>
57                         <from-outcome>imprint</from-outcome>
58                         <to-view-id>/imprint.xhtml</to-view-id>
59                 </navigation-case>
60                 <navigation-case>
61                         <from-outcome>logout</from-outcome>
62                         <to-view-id>/bye.xhtml</to-view-id>
63                 </navigation-case>
64                 <navigation-case>
65                         <from-outcome>admin_index</from-outcome>
66                         <to-view-id>/admin/admin_index.xhtml</to-view-id>
67                 </navigation-case>
68                 <navigation-case>
69                         <from-outcome>login_index</from-outcome>
70                         <to-view-id>/login/login_index.xhtml</to-view-id>
71                 </navigation-case>
72                 <navigation-case>
73                         <from-outcome>user_resend_link</from-outcome>
74                         <to-view-id>/user/resend_link.xhtml</to-view-id>
75                 </navigation-case>
76                 <navigation-case>
77                         <from-outcome>login_own_addressbooks</from-outcome>
78                         <to-view-id>/login/login_own_addressbooks.xhtml</to-view-id>
79                 </navigation-case>
80                 <navigation-case>
81                         <from-outcome>login_other_addressbooks</from-outcome>
82                         <to-view-id>/login/login_other_addressbooks.xhtml</to-view-id>
83                 </navigation-case>
84                 <navigation-case>
85                         <from-outcome>login_user_list</from-outcome>
86                         <to-view-id>/login/login_user_list.xhtml</to-view-id>
87                 </navigation-case>
88                 <navigation-case>
89                         <from-outcome>admin_logout</from-outcome>
90                         <to-view-id>/admin/admin_logout.xhtml</to-view-id>
91                 </navigation-case>
92                 <navigation-case>
93                         <from-outcome>login_edit_address</from-outcome>
94                         <to-view-id>/login/login_edit_address.xhtml</to-view-id>
95                 </navigation-case>
96                 <navigation-case>
97                         <from-outcome>login_edit_user_data</from-outcome>
98                         <to-view-id>/login/login_edit_user_data.xhtml</to-view-id>
99                 </navigation-case>
100                 <navigation-case>
101                         <from-outcome>login_shared_addressbooks</from-outcome>
102                         <to-view-id>/login/login_shared_addressbooks.xhtml</to-view-id>
103                 </navigation-case>
104         </navigation-rule>
105         <navigation-rule>
106                 <from-view-id>/user/login.xhtml</from-view-id>
107                 <navigation-case>
108                         <from-outcome>login</from-outcome>
109                         <to-view-id>/login/login_index.xhtml</to-view-id>
110                 </navigation-case>
111         </navigation-rule>
112         <navigation-rule>
113                 <from-view-id>/user/register.xhtml</from-view-id>
114                 <navigation-case>
115                         <from-outcome>register_done</from-outcome>
116                         <to-view-id>/user/register_done.xhtml</to-view-id>
117                 </navigation-case>
118         </navigation-rule>
119         <navigation-rule>
120                 <from-view-id>/admin/admin_logout.xhtml</from-view-id>
121                 <navigation-case>
122                         <from-outcome>index</from-outcome>
123                         <to-view-id>/index.xhtml</to-view-id>
124                 </navigation-case>
125         </navigation-rule>
126         <navigation-rule>
127                 <from-view-id>/login/login_own_addressbooks.xhtml</from-view-id>
128                 <navigation-case>
129                         <from-outcome>login_add_addressbook</from-outcome>
130                         <to-view-id>/login/login_add_addressbook.xhtml</to-view-id>
131                 </navigation-case>
132                 <navigation-case>
133                         <from-outcome>login_show_addressbook</from-outcome>
134                         <to-view-id>/login/login_show_addressbook.xhtml</to-view-id>
135                 </navigation-case>
136                 <navigation-case>
137                         <from-outcome>login_show_addressbook_entries</from-outcome>
138                         <to-view-id>/login/login_show_addressbook_entries.xhtml</to-view-id>
139                 </navigation-case>
140         </navigation-rule>
141         <application>
142                 <locale-config>
143                         <default-locale>de</default-locale>
144                         <supported-locale>en_US</supported-locale>
145                 </locale-config>
146         </application>
147 </faces-config>