<xh:body>
element (or under the <fr:body>
element for Form Runner forms) with:appearance="full"
on the dialog, you define the title of the dialog with the embedded <xf:label>
element.<xxf:dialog>
you can use all the XHTML and XForms elements you can normally use elsewhere on the page. You can have other XForms controls, or show anything you would like to with HTML.<xxf:dialog>
are as follows:id
<xxf:show dialog="my-dialog-id">
.appearance
full
or minimal
level
modal
(default) or modeless
appearance="full"
. When set to modal
the rest the page is grayed out and you can't interact with any control on the page outside of the dialog. When set to modeless
you can still use other controls on the page.close
true
or false
appearance="full"
. A close box "x" is shown in the dialog title bar when close="true"
. If you specify close="false"
, then you should provide a way to close the dialog, for instance by having you own "Close" button inside the dialog. This is typically useful when you want to force users to enter some data before proceeding and you don't want them to cancel the current operation by closing the dialog.draggable
true
or false
appearance="full"
. When draggable="false"
, you won't be able to move dialog on the page by using drag and drop in the dialog title bar.visible
true
or false
visible="true"
, the dialog appears immediately when the page loads.neighbor
minimal
appearance. The id of the control next to which the dialog should display when opening.class
xxforms-set-height
, then the height of the dialog is set to its max height, which is the viewport height minus 80 pixels.full
or minimal
:appearance="full"
while the second one shows a dialog with appearance="minimal"
.<xxf:dialog>
can only be used for the full or the minimal dialog. You will find more details on this below.xxf:show
and xxf:hide
actionsxxf:show
action:xxf:show
supports the following attributes:dialog
neighbor
appearance="minimal"
. The ID of the control next to which the dialog should display when opening.constrain
true
or false
xxf:hide
action:xxf:hide
supports the following attributes:dialog