]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/validators.jsf.taglib.xml
Please cherry-pick:
[jjobs-war.git] / web / WEB-INF / validators.jsf.taglib.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (C) 2017, 2018 Free Software Foundation
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Affero General Public License as
7 published by the Free Software Foundation, either version 3 of the
8 License, or (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 GNU Affero General Public License for more details.
14
15 You should have received a copy of the GNU Affero General Public License
16 along with this program.  If not, see <http://www.gnu.org/licenses/>.
17 -->
18 <facelet-taglib version="2.2"
19                                 xmlns="http://xmlns.jcp.org/xml/ns/javaee"
20                                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21                                 xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facelettaglibrary_2_2.xsd">
22         <namespace>http://mxchange.org/jsf/core/validators</namespace>
23         <tag>
24                 <tag-name>emailAddressValidator</tag-name>
25                 <validator>
26                         <validator-id>EmailAddressValidator</validator-id>
27                 </validator>
28                 <attribute>
29                         <description>Whether email address is allowed to be empty.</description>
30                         <name>allowEmptyRequiredData</name>
31                         <type>java.lang.Boolean</type>
32                         <required>false</required>
33                 </attribute>
34         </tag>
35         <tag>
36                 <tag-name>basicDataEmailAddressValidator</tag-name>
37                 <validator>
38                         <validator-id>BasicDataEmailAddressValidator</validator-id>
39                 </validator>
40                 <attribute>
41                         <description>Whether email address is allowed to be empty.</description>
42                         <name>allowEmptyRequiredData</name>
43                         <type>java.lang.Boolean</type>
44                         <required>false</required>
45                 </attribute>
46         </tag>
47         <tag>
48                 <tag-name>employeeEmailAddressValidator</tag-name>
49                 <validator>
50                         <validator-id>EmployeeEmailAddressValidator</validator-id>
51                 </validator>
52                 <attribute>
53                         <description>Whether email address is allowed to be empty.</description>
54                         <name>allowEmptyRequiredData</name>
55                         <type>java.lang.Boolean</type>
56                         <required>false</required>
57                 </attribute>
58         </tag>
59         <tag>
60                 <tag-name>headquarterEmailAddressValidator</tag-name>
61                 <validator>
62                         <validator-id>HeadquarterEmailAddressValidator</validator-id>
63                 </validator>
64                 <attribute>
65                         <description>Whether email address is allowed to be empty.</description>
66                         <name>allowEmptyRequiredData</name>
67                         <type>java.lang.Boolean</type>
68                         <required>false</required>
69                 </attribute>
70         </tag>
71         <tag>
72                 <tag-name>urlValidator</tag-name>
73                 <validator>
74                         <validator-id>UrlValidator</validator-id>
75                 </validator>
76                 <attribute>
77                         <description>Whether URL is allowed to be empty.</description>
78                         <name>allowEmptyRequiredData</name>
79                         <type>java.lang.Boolean</type>
80                         <required>false</required>
81                 </attribute>
82         </tag>
83 </facelet-taglib>