From 5a0f12e696143b385524508beb931c1f6876a98c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Wed, 19 Apr 2017 23:40:32 +0200 Subject: [PATCH] no more .strings package + added name fields/validator where missing MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../org/mxchange/jjobs/validator/names/JobsNameValidator.java | 2 +- .../privacy_terms/JobsPrivacyTermsCheckboxValidator.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/java/org/mxchange/jjobs/validator/{bool => }/privacy_terms/JobsPrivacyTermsCheckboxValidator.java (97%) diff --git a/src/java/org/mxchange/jjobs/validator/names/JobsNameValidator.java b/src/java/org/mxchange/jjobs/validator/names/JobsNameValidator.java index 03847498..70699ac0 100644 --- a/src/java/org/mxchange/jjobs/validator/names/JobsNameValidator.java +++ b/src/java/org/mxchange/jjobs/validator/names/JobsNameValidator.java @@ -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); diff --git a/src/java/org/mxchange/jjobs/validator/bool/privacy_terms/JobsPrivacyTermsCheckboxValidator.java b/src/java/org/mxchange/jjobs/validator/privacy_terms/JobsPrivacyTermsCheckboxValidator.java similarity index 97% rename from src/java/org/mxchange/jjobs/validator/bool/privacy_terms/JobsPrivacyTermsCheckboxValidator.java rename to src/java/org/mxchange/jjobs/validator/privacy_terms/JobsPrivacyTermsCheckboxValidator.java index 9785289e..22c2ab56 100644 --- a/src/java/org/mxchange/jjobs/validator/bool/privacy_terms/JobsPrivacyTermsCheckboxValidator.java +++ b/src/java/org/mxchange/jjobs/validator/privacy_terms/JobsPrivacyTermsCheckboxValidator.java @@ -14,7 +14,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package org.mxchange.jjobs.validator.bool.privacy_terms; +package org.mxchange.jjobs.validator.privacy_terms; import javax.faces.component.UIComponent; import javax.faces.context.FacesContext; -- 2.39.5