|Modifier and Type||Method and Description|
Method called when an attempt to
HandlerRegistration addFormSubmitFailedHandler(FormSubmitFailedHandler handler)
natively submita form is unable to submit to the server. Default behavior is to display the
formSubmitFailedWarningin 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.
Note: This is very unlikely to occur with modern versions of IE, which don't allow the path of a file to be edited by hand (only selected via file navigation). It was last seen in IE6-7 under Windows XP.
throwing an exception on the client during submit(), normally all failures in native form submission are handled by the
server. For further information, see
handler- the formSubmitFailed handler
HandlerRegistrationused to remove this handler