@Override @SuppressWarnings("unchecked") public T getModelValue() { return (T) super.getModelValue(); }
@Override public Object getModelValue() { return getModelValue(getParentObject()); }
@Override public ValidationContext createValidationContext(ValidationScope scope) { return new ValidationContext(getMember().getMemberPath(), getMember().getType(), getModelValue(), getParentObject(), scope); }
@Override public List<ValidationResult> validate() { Object parentObject = getParentObject(); if (validators != null && parentObject != null && isValidationRequired()) { List<ValidationResult> results = ValidationUtilities.getInstance().validateObject( validators, binder.getValidationScope(), member.getMemberPath(), parentObject, getModelValue(), getMember().getType()); fireValidated(results); binder.fireValidated(this, results); return results; } return Collections.emptyList(); }
updateView(parent, getModelValue(parent), false);