public interface HasFormSubmitFailedHandlers extends HasHandlers
Modifier and Type | Method and Description |
---|---|
HandlerRegistration |
addFormSubmitFailedHandler(FormSubmitFailedHandler handler)
Method called when an attempt to
natively submit a form
is unable to submit to the server. |
fireEvent
HandlerRegistration addFormSubmitFailedHandler(FormSubmitFailedHandler handler)
natively submit
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.handler
- the formSubmitFailed handlerHandlerRegistration
used to remove this handler