Interface BeforeFormRepostCallback

All Superinterfaces:
AsyncCallback<BeforeFormRepostCallback.Params,BeforeFormRepostCallback.Action>, BrowserAsyncCallback<BeforeFormRepostCallback.Params,BeforeFormRepostCallback.Action>, BrowserCallback, Callback
All Known Implementing Classes:
DefaultBeforeFormRepostCallback, DefaultBeforeFormRepostCallback, DefaultBeforeFormRepostCallback

This callback is invoked when a web page with POST data is going to be reloaded and the user must confirm that the POST data can be resubmitted.

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.