Magnolia 5.6 reached end of life on June 25, 2020. This branch is no longer supported, see End-of-life policy.
HTML Wrap | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Related topics: |
Excerpt |
---|
Dialogs are used for content entry. A dialog defines the editable content properties of a template. Pages, area and component templates can all use dialogs. |
...
A dialog definition contains a form
and actions
.
Here's what the configurations do:
...
Localtab Group | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
<dialog-name> | required Arbitrary node name. Typically matches the template it edits. For example the component definition node and dialog definition node for a link component could both be named |
| required Contains a form definition which defines the fields where content is entered. |
| required Contains action definitions which define how the data is submitted. The actions are rendered to users as buttons. Typically you need at least save and cancel actions. |
| optional Modality level defines how intrusive the dialog is. Valid values are |
| optional Allows you to configure secondary actions. |
| optional , default is
Click the expand/collapse button in the top right corner to toggle between the wide and normal (720px) modes. |
...
| optional ( Magnolia 5.6.7+) Sets the dialog's caption via a property holding the preferred value, for example via the |
...
YAML file path | JCR node path in config workspace | |
---|---|---|
Dialog definition | $magnolia.resources.dir/<module-name>/dialogs | /modules/<module-name>/dialogs |
...
Localtab Group | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
The configuration is in /modules/dam-app/apps/assets/chooseDialog
:
Advanced Tables - Table Plus | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
actionArea | optional A secondary action area in the bottom left corner of the editor. Contains the action area configuration. | ||||||
| required Add subnodes to match the secondary actions defined in the | ||||||
| required Secondary action name. | ||||||
| optional Define a subnode for each action which requires its own renderer. | ||||||
| required Name of the secondary action. | ||||||
| required A renderer class if the secondary action requires one. Must implement
|
Magnolia provides mechanisms to reuse dialogs or more general said to reuse configuration items. See Reusing configuration and Generic tab for a dialog .
optional
Sets the dialog's caption via a property holding the preferred value, for example via the jcrName
property.