com.smartgwt.client.widgets.form.events
Interface HiddenValidationErrorsHandler

All Superinterfaces:
EventHandler

public interface HiddenValidationErrorsHandler
extends EventHandler


Method Summary
 void onHiddenValidationErrors(HiddenValidationErrorsEvent event)
          Method to display validation error messages for fields that are not currently visible in this form.
This will be called when validation fails for
- a hidden field in this form
- if this form is databound, a datasource field with specified validators, for which we have no specified form item.
Implement this to provide custom validation error handling for these fields.
By default hidden validation errors will be logged as warnings in the developerConsole.
 

Method Detail

onHiddenValidationErrors

void onHiddenValidationErrors(HiddenValidationErrorsEvent event)
Method to display validation error messages for fields that are not currently visible in this form.
This will be called when validation fails for
- a hidden field in this form
- if this form is databound, a datasource field with specified validators, for which we have no specified form item.
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