]> git.mxchange.org Git - jjobs-war.git/blobdiff - web/WEB-INF/validators.jsf.taglib.xml
Please cherry-pick:
[jjobs-war.git] / web / WEB-INF / validators.jsf.taglib.xml
index e575a7ac6a8a3ff09ea05f7d47e0d939a2b474b6..5c77789b34603c8831d565047b6176fb6e75f96c 100644 (file)
@@ -15,10 +15,12 @@ GNU Affero General Public License for more details.
 You should have received a copy of the GNU Affero General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 -->
-<facelet-taglib version="2.2"
-                               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-facelettaglibrary_2_2.xsd">
+<facelet-taglib
+       version="2.2"
+       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-facelettaglibrary_2_2.xsd"
+>
        <namespace>http://mxchange.org/jsf/core/validators</namespace>
        <tag>
                <tag-name>emailAddressValidator</tag-name>
@@ -44,6 +46,18 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
                        <required>false</required>
                </attribute>
        </tag>
+       <tag>
+               <tag-name>branchOfficeEmailAddressValidator</tag-name>
+               <validator>
+                       <validator-id>BranchOfficeEmailAddressValidator</validator-id>
+               </validator>
+               <attribute>
+                       <description>Whether email address is allowed to be empty.</description>
+                       <name>allowEmptyRequiredData</name>
+                       <type>java.lang.Boolean</type>
+                       <required>false</required>
+               </attribute>
+       </tag>
        <tag>
                <tag-name>employeeEmailAddressValidator</tag-name>
                <validator>