public interface ValidatorActionCallback | Modifier and Type | Method and Description |
|---|---|
void | execute(boolean result, DataSourceField item, Validator validator, Record record, DataBoundComponent component) Callback required for the property ValidatorDefinition.action. |
void execute(boolean result,
DataSourceField item,
Validator validator,
Record record,
DataBoundComponent component) Callback required for the property ValidatorDefinition.action.result - The result of the validator. The value will be null if the validator was skipped because of conditional criteria.item - FormItem or DataSourceField on which this validator was declared. NOTE: FormItem will not be available during a save performed without a form (eg programmatic save) or if the field is not available in the form.validator - Validator declaration from eg DataSourceField.validators.record - Record that was validatedcomponent - The DataBoundComponent holding the item such DynamicForm or ListGrid.