Package com.smartgwt.client.callbacks
Interface ValidatorActionCallback
public interface ValidatorActionCallback
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(boolean result, DataSourceField item, Validator validator, Record record, DataBoundComponent component) Callbackrequired for the property ValidatorDefinition.action.
-
Method Details
-
execute
void execute(boolean result, DataSourceField item, Validator validator, Record record, DataBoundComponent component) Callbackrequired for the property ValidatorDefinition.action.- Parameters:
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 egDataSourceField.validators.record- Record that was validatedcomponent- The DataBoundComponent holding the item such DynamicForm or ListGrid.
-