public interface BeforeFormRepostCallback extends BrowserAsyncCallback<BeforeFormRepostCallback.Params,BeforeFormRepostCallback.Action>
You can use this callback to display a confirmation dialog where you ask the user whether the web page can be reloaded or not.
The BeforeFormRepostCallback.Params
contains the re-post dialog parameters.
Use the BeforeFormRepostCallback.Action.repost()
method to allow resubmitting POST data.
Use the BeforeFormRepostCallback.Action.cancel()
method to cancel the page reloading.
If the callback throws an exception, the BeforeFormRepostCallback.Action.repost()
method will be invoked.
Modifier and Type | Interface and Description |
---|---|
static class |
BeforeFormRepostCallback.Action
An action providing a response to the
BeforeFormRepostCallback . |
static interface |
BeforeFormRepostCallback.Params
The parameters of the
BeforeFormRepostCallback . |
on