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

All Superinterfaces:
HasHandlers
All Known Implementing Classes:
DynamicForm, PropertySheet, SearchForm

public interface HasFormSubmitFailedHandlers
extends HasHandlers


Method Summary
 HandlerRegistration addFormSubmitFailedHandler(FormSubmitFailedHandler handler)
          Method called when an attempt to DynamicForm.submitForm() a form is unable to submit to the server.
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 

Method Detail

addFormSubmitFailedHandler

HandlerRegistration addFormSubmitFailedHandler(FormSubmitFailedHandler handler)
Method called when an attempt to DynamicForm.submitForm() a form is unable to submit to the server. Default behavior is to display the formSubmitFailedWarning in a warning dialog. The most common cause for this failure is that the user has typed an invalid file-path into an upload type field.

Parameters:
handler - the formSubmitFailed handler
Returns:
HandlerRegistration used to remove this handler