The dialog editor provides a graphical interface for easily creating and editing dialog boxes and scaffolds.
To see how it works, go to CRXDE Lite, open the explorer tree to
/libs/foundation/components/chart and double click on the node
The dialog node will open in the dialog editor:
The dialog editor interface is composed of four panes:
To build a dialog box, the user drags and drops elements from the palette to the structure pane into position within the dialog definition hierarchy.
Once the desired structure is completed, the user clicks Save, at the top of the render pane.
Note that the dialog editor is intended for the creation is relatively simple dialogs and may not be able to edit more complex dialog definitions. In cases where the dialog editor does not allow the editing of a dialog structure, the dialog definition must be created and/or edited manually by directly editing the node structure using for example, CRXDE Lite or CRX Content Explorer.
To create a new dialog box you need to select the required component, click Create… and then Create Dialog….
Enter the required details then click Save All - now you can double-click on the dialog to open it with the editor.
A scaffold is a special page containing a form that can be filled in and submitted in one step. This allows you to rapidly create a page using the content entered.
The form that makes up a scaffold is defined by a dialog definition, just like a normal dialog, though it appears on the scaffolding page in a different form. Because dialog definitions are used to define scaffolds, scaffolds can be designed using the dialog editor. Note that when using the dialog editor in this fashion, the render pane will still display the dialog definition in the form of a dialog box not as a scaffold.
See Scaffolding for more information on using the dialog editor to create scaffolds.