From: Roland Haeder Date: Thu, 3 Sep 2015 13:32:47 +0000 (+0200) Subject: Some improvements X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b0ecd10fa29c642e57ec6afaeff56a7dd666a6e4;p=jcoreee.git Some improvements Signed-off-by:Roland Haeder --- 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);