]> git.mxchange.org Git - jjobs-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:21:32 +0000 (11:21 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 11 Apr 2017 09:21:32 +0000 (11:21 +0200)
src/java/org/mxchange/jjobs/validator/names/JobsNameValidator.java
web/user/login_add_addressbook.xhtml

index 1ad98af8e3c7732f492895ae87fdd159725ee4bd..0384749867a2781118a5a6be6dc37ec7af18a834 100644 (file)
@@ -24,11 +24,11 @@ import javax.faces.validator.ValidatorException;
 import org.mxchange.jcoreee.validator.string.BaseStringValidator;
 
 /**
- * A validation class for addressbook names, such as first name or family name.
+ * A validation class for jjobs names, such as first name or family name.
  * <p>
  * @author Roland Häder<roland@mxchange.org>
  */
-@FacesValidator (value = "AddressbookNameValidator")
+@FacesValidator (value = "NameValidator")
 public class JobsNameValidator extends BaseStringValidator implements Validator {
 
        /**
index aa953946a22720ffb22ec9fdaf0ae1c03f96af12..0af70f0dd35398c4b8e38702286f48f522ebc113 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="JobsNameValidator" />
                                                                </h:inputText>
                                                        </div>
                                                </div>