Interface HiddenValidationErrorsHandler

All Superinterfaces:
EventHandler

public interface HiddenValidationErrorsHandler extends EventHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Method to display validation error messages for a valuesManager when there is not currently visible form item displaying the errors.
  • Method Details

    • onHiddenValidationErrors

      void onHiddenValidationErrors(HiddenValidationErrorsEvent event)
      Method to display validation error messages for a valuesManager when there is not currently visible form item displaying the errors. This will be called when validation fails for
      - a field in a hidden or undrawn member form
      - a hidden field in a visible member form
      - for databound ValuesManagers, a datasource field with specified validators, but not associated item in any member.
      Implement this to provide custom validation error handling for these fields.
      By default hidden validation errors will be logged as warnings in the developerConsole. Call HiddenValidationErrorsEvent.cancel() from within onHiddenValidationErrors(com.smartgwt.client.widgets.form.events.HiddenValidationErrorsEvent) from this method to suppress that behavior.
      Parameters:
      event - the event