Interface ValidatorActionCallback


public interface ValidatorActionCallback
  • Method Details

    • execute

      void execute(boolean result, DataSourceField item, Validator validator, Record record, DataBoundComponent component)
      Callback required 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 eg DataSourceField.validators.
      record - Record that was validated
      component - The DataBoundComponent holding the item such DynamicForm or ListGrid.