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=7b95af1e9082ecb6e4f9a6171dbe86cf34122af4;p=jcoreee.git Some improvements Signed-off-by:Roland Häder --- 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);