This tutorial is a work in progress.
The [toc] macro is a standalone macro and it cannot be used inline
This is a Javascript widget bundled by default with the XWiki platform.


The Modal Popup is a widget used as a base class for different modal widgets in XWiki, like the Confirmation Box or the Jump To Page widget. It will not display a dialog box since it should not be used by itself.

Constructor fields for the ModalPopup Javascript class

Object that defines the content of the modal dialog.
Object that defines the shortcuts that will pop up the dialog.
Object that defines the options for the modal dialog: title, displayCloseButton, screenColor, borderColor, titleColor, backgroundColor, screenOpacity, verticalPosition and horizontalPosition.


Widgets bundled by default with XWiki build on top of the Model Popup class:


Check out the Javascript code:

Check out the CSS code:


Get Connected