Interface ModalWindow.CloseButtonCallback

All Superinterfaces:
org.apache.wicket.util.io.IClusterable, Serializable
Enclosing class:
ModalWindow

public static interface ModalWindow.CloseButtonCallback extends org.apache.wicket.util.io.IClusterable
Callback for close button that contains a method that is invoked after the button has been clicked. If no callback instance is specified using ModalWindow.setCloseButtonCallback(CloseButtonCallback), no ajax request will be fired. Clicking the button will just close the window.
Author:
Matej Knopp
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    onCloseButtonClicked(org.apache.wicket.ajax.AjaxRequestTarget target)
    Methods invoked after the button has been clicked.
  • Method Details

    • onCloseButtonClicked

      boolean onCloseButtonClicked(org.apache.wicket.ajax.AjaxRequestTarget target)
      Methods invoked after the button has been clicked. The invocation is done using an ajax call, so AjaxRequestTarget instance is available.
      Parameters:
      target - AjaxRequestTarget instance bound with the ajax request.
      Returns:
      True if the window can be closed (will close the window), false otherwise