super.apply(context, parent);
return;
}
final javax.faces.validator.Validator validator = createInstance(context, this, "validatorId");
final DeferredAttributes attributes = collectDeferredAttributes(context, this, validator);
final ValueExpression disabled = getValueExpression(context, this, "disabled", Boolean.class);
final ValueExpression message = getValueExpression(context, this, "message", String.class);
((EditableValueHolder) parent).addValidator(new DeferredValidator() {
private static final long serialVersionUID = 1L;
@Override
public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException {
ELContext el = context.getELContext();
if (disabled == null || Boolean.FALSE.equals(disabled.getValue(el))) {
attributes.invokeSetters(el, validator);
try {
validator.validate(context, component, value);
}
catch (ValidatorException e) {