]> git.mxchange.org Git - addressbook-war.git/commitdiff
Nope. keep these names unified, but class names project-dependent so the IDE is not...
authorRoland Haeder <roland@mxchange.org>
Tue, 11 Apr 2017 09:20:11 +0000 (11:20 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 11 Apr 2017 09:21:51 +0000 (11:21 +0200)
src/java/org/mxchange/addressbook/validator/names/AddressbookNameValidator.java
web/user/login_add_addressbook.xhtml

index 9db2f764663e436f7ddf235271017a5c7465ebd9..ecf00a9011592bda6cf9bf3a61c512154d248160 100644 (file)
@@ -28,7 +28,7 @@ import org.mxchange.jcoreee.validator.string.BaseStringValidator;
  * <p>
  * @author Roland Häder<roland@mxchange.org>
  */
-@FacesValidator (value = "AddressbookNameValidator")
+@FacesValidator (value = "NameValidator")
 public class AddressbookNameValidator extends BaseStringValidator implements Validator {
 
        /**
index aa953946a22720ffb22ec9fdaf0ae1c03f96af12..ffb94fcb88267f3bbaf7d559c362cb818940421c 100644 (file)
@@ -30,7 +30,7 @@
 
                                                        <div class="table_right">
                                                                <h:inputText styleClass="input" id="addressbookName" value="#{addressbookController.addressbookName}" maxlength="50" size="20" title="#{msg.LOGIN_ENTER_ADDRESSBOOK_NAME_TITLE}" required="true" requiredMessage="#{msg.LOGIN_ADDRESSBOOK_NAME_REQUIRED_MESSAGE}">
-                                                                       <f:validator for="addressbookName" validatorId="AddressbookNameValidator" />
+                                                                       <f:validator for="addressbookName" validatorId="NameValidator" />
                                                                </h:inputText>
                                                        </div>
                                                </div>