The DojoDialog widget creates a popup box. By default,
the box is hidden.
Please note that if the width or height that is specified for the
Dojo dialog widget is less than the equivalent value for a child widget,
the display on Microsoft Internet Explorer 8 or earlier is different
from the display on other browsers.
Fields
- title
- The title that is displayed on the top of the dialog box
- children
- Contains the code that defines the content that is in the dialog
box. The box can contain anything that can be included in the Box
widget; for example, HTML or a DateBox widget.
- draggable
- Specifies whether the dialog box can be dragged. Valid values
are true and false.
- closable
- Specifies whether the dialog box can be closed. Valid values are
true and false.
Functions
- showDialog
- Opens the dialog box. You can close the box by clicking the x on
the right top corner, or by pressing the Esc key.
- hideDialog
- Hides the dialog box
Other supported fields and functions are described in the following
topics in the EGL Programmer’s Guide: “Rich UI widget fields” and
”Rich UI widget functions.”
Use of this widget requires the following statement:
import dojo.widgets.DojoDialog;