]> git.mxchange.org Git - addressbook-war.git/commitdiff
registered validator for phone, fax and mobile numbers
authorRoland Haeder <roland@mxchange.org>
Mon, 12 Oct 2015 09:15:18 +0000 (11:15 +0200)
committerRoland Haeder <roland@mxchange.org>
Mon, 12 Oct 2015 09:15:18 +0000 (11:15 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

nbproject/faces-config.NavData
web/WEB-INF/faces-config.xml

index f1818296af74640d985e4899bb0929b4b2a1c44a..f41aac60d6c10a7f6f2bf301d063a804bb54b8a8 100644 (file)
@@ -30,8 +30,8 @@
         <Node id="user/login_error.xhtml" x="1400" y="150" zoom="true"/>
         <Node id="privacy.xhtml" x="400" y="750" zoom="true"/>
         <Node id="admin/admin_index.xhtml" x="400" y="450" zoom="true"/>
-        <Node id="index.xhtml" x="650" y="600" zoom="true"/>
         <Node id="login/login_user_list.xhtml" x="150" y="150" zoom="true"/>
+        <Node id="index.xhtml" x="650" y="600" zoom="true"/>
         <Node id="imprint.xhtml" x="900" y="450" zoom="true"/>
         <Node id="login/login_index.xhtml" x="150" y="750" zoom="true"/>
         <Node id="user/register.xhtml" x="400" y="300" zoom="true"/>
index 7d1d930e65141eda17157ce8fe46e154e3d47ebf..d03e8b3509844844da832479914f9942ea06f857 100644 (file)
                <validator-id>AddressbookNameValidator</validator-id>
                <validator-class>org.mxchange.addressbook.validator.names.AddressbookNameValidator</validator-class>
        </validator>
+       <validator>
+               <validator-id>PhoneNumberValidator</validator-id>
+               <validator-class>org.mxchange.jphone.validators.PhoneNumberValidator</validator-class>
+       </validator>
        <navigation-rule>
                <from-view-id>*</from-view-id>
                <navigation-case>