Interface ModalWindow.CloseButtonCallback

All Superinterfaces:
IClusterable, Serializable
Enclosing class:

public static interface ModalWindow.CloseButtonCallback
extends 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(ModalWindow.CloseButtonCallback), no ajax request will be fired. Clicking the button will just close the window.

Matej Knopp

Method Summary
 boolean onCloseButtonClicked(AjaxRequestTarget target)
          Methods invoked after the button has been clicked.

Method Detail


boolean onCloseButtonClicked(AjaxRequestTarget target)
Methods invoked after the button has been clicked. The invocation is done using an ajax call, so AjaxRequestTarget instance is available.

target - AjaxRequestTarget instance bound with the ajax request.
True if the window can be closed (will close the window), false otherwise

Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.