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 {
/**
<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>