X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Forg%2Fmxchange%2Fjcoreee%2Fvalidator%2Fstring%2FBaseStringValidator.java;h=159fc500618a3d5e1aac1af9b9e77064d5c605b1;hb=55c52749914ad50c736e4ace7f2e11595ba5b5c1;hp=0326176080cbbc3d099b4b3f53373eceac4cf0e4;hpb=f11125b1cfdc50a364f3e32b004594cbbc5ef089;p=jcoreee.git diff --git a/src/org/mxchange/jcoreee/validator/string/BaseStringValidator.java b/src/org/mxchange/jcoreee/validator/string/BaseStringValidator.java index 0326176..159fc50 100644 --- a/src/org/mxchange/jcoreee/validator/string/BaseStringValidator.java +++ b/src/org/mxchange/jcoreee/validator/string/BaseStringValidator.java @@ -37,12 +37,12 @@ public abstract class BaseStringValidator extends BaseObjectValidator { private static final long serialVersionUID = 15_484_578_781_760_287L; @Override - protected void preValidate (final FacesContext context, final UIComponent component, final Object value, final String[] requiredFields) throws ValidatorException { + protected void preValidate (final FacesContext context, final UIComponent component, final Object value, final String[] requiredFields, boolean allowNull) throws ValidatorException { // Trace message //this.getLogger().logTrace(MessageFormat.format("preValidate: context={0},component={1},value={2},fields={3} - CALLED!", context, component, value, Arrays.toString(requiredFields))); //NOI18N // Pre-validate (example: on null) - super.preValidate(context, component, value, requiredFields); + super.preValidate(context, component, value, requiredFields, allowNull); // Get client id and init message + key String clientId = component.getClientId();