]> git.mxchange.org Git - jjobs-war.git/blobdiff - src/java/org/mxchange/jjobs/validator/names/JobsNameValidator.java
no need for value='' here, only the pure value is okay
[jjobs-war.git] / src / java / org / mxchange / jjobs / validator / names / JobsNameValidator.java
index 0384749867a2781118a5a6be6dc37ec7af18a834..507b45b65b7e3eda89f8609d04ea8816751ef66a 100644 (file)
@@ -28,7 +28,7 @@ import org.mxchange.jcoreee.validator.string.BaseStringValidator;
  * <p>
  * @author Roland Häder<roland@mxchange.org>
  */
-@FacesValidator (value = "NameValidator")
+@FacesValidator ("NameValidator")
 public class JobsNameValidator extends BaseStringValidator implements Validator {
 
        /**
@@ -42,7 +42,7 @@ public class JobsNameValidator extends BaseStringValidator implements Validator
                //* NOISY-DEBUG: */ System.out.println(MessageFormat.format("validate: context={0},component={1},value={2} - CALLED!", context, component, value)); //NOI18N
 
                // All accepted, required fields
-               String[] requiredFields = {"addressbookName"}; //NOI18N
+               String[] requiredFields = {"firstName", "familyName", "city", "street", "addressbookName"}; //NOI18N
 
                // Pre-validation (example: not null, not a string, empty string ...)
                super.preValidate(context, component, value, requiredFields, false);