From 7b95af1e9082ecb6e4f9a6171dbe86cf34122af4 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 3 Sep 2015 15:32:47 +0200 Subject: [PATCH] =?utf8?q?Some=20improvements=20Signed-off-by:Roland=20H?= =?utf8?q?=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/org/mxchange/jsfcore/validator/BaseObjectValidator.java | 2 +- .../mxchange/jsfcore/validator/string/names/NameValidator.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/mxchange/jsfcore/validator/BaseObjectValidator.java b/src/org/mxchange/jsfcore/validator/BaseObjectValidator.java index bdaee17..4c7e8fb 100644 --- a/src/org/mxchange/jsfcore/validator/BaseObjectValidator.java +++ b/src/org/mxchange/jsfcore/validator/BaseObjectValidator.java @@ -56,7 +56,7 @@ public abstract class BaseObjectValidator extends BaseFrameworkSystem implements // Is it set? if (null == this.getBundle()) { // Set it now - setBundle(ResourceBundle.getBundle("org.mxchange.localization.messages", context.getViewRoot().getLocale())); + setBundle(ResourceBundle.getBundle("org.mxchange.localization.bundle", context.getViewRoot().getLocale())); } } diff --git a/src/org/mxchange/jsfcore/validator/string/names/NameValidator.java b/src/org/mxchange/jsfcore/validator/string/names/NameValidator.java index 4186545..0994ab4 100644 --- a/src/org/mxchange/jsfcore/validator/string/names/NameValidator.java +++ b/src/org/mxchange/jsfcore/validator/string/names/NameValidator.java @@ -35,7 +35,7 @@ public class NameValidator extends BaseStringValidator implements Validator { this.getLogger().trace(MessageFormat.format("context={0},component={1},value={2} - CALLED!", context, component, value)); //NOI18N // All accepted, required fields - String[] requiredFileds = {"firstName", "familyName"}; //NOI18N + String[] requiredFileds = {"firstName", "familyName", "city", "street"}; //NOI18N // Pre-validation (e.g. not null, not a string, empty string ...) super.preValidate(context, component, value, requiredFileds); -- 2.39.5