HTML Wrap |
---|
clear | both |
---|
width | 244px |
---|
align | right |
---|
class | menu |
---|
|
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. |
...
Localtab Group |
---|
Localtab |
---|
| Code Block |
---|
language | js |
---|
title | <module name>/dialogs/<dialog name>.yaml |
---|
| form:
tabs:
- name: tabText
label: Text
fields:
- name: title
class: info.magnolia.ui.form.field.definition.TextFieldDefinition
label: Title
actions:
commit:
class: info.magnolia.ui.admincentral.dialog.action.SaveDialogActionDefinition
label: Save
cancel:
class: info.magnolia.ui.admincentral.dialog.action.CancelDialogActionDefinition
label: Cancel |
|
Localtab |
---|
| Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
| Node name | Value |
---|
| |
| | |
| | |
| | |
| |
| |
| |
| |
| | |
| | info.magnolia.ui.form.field.definition.TextFieldDefinition | | Title | | Text | | |
| |
| | info.magnolia.ui.admincentral.dialog.action.SaveDialogActionDefinition | | save | |
| | info.magnolia.ui.admincentral.dialog.action.CancelDialogActionDefinition | | close | |
|
|
...
Location of dialog definitions
...
| YAML file path | JCR node path in config workspace |
---|
Dialog definition | $magnolia.resources.dir/<module-name>/dialogs | /modules/<module-name>/dialogs |
...
Localtab Group |
---|
Localtab |
---|
| Code Block |
---|
language | js |
---|
title | <module name>/templates/components/textImage.yaml |
---|
| dialog: my-module:components/textImage
renderType: freemarker
templateScript: /components/textImage.ftl
title: Text & Image Component |
|
Localtab |
---|
| Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
| Node name | Value |
---|
|
| |
| |
| |
| | my-module:components/textImage | | freemarker | | /components/textImage.ftl | | Text & Image Component |
|
|
|
...
Advanced Tables - Table Plus |
---|
heading | 0 |
---|
multiple | false |
---|
enableHeadingAttributes | false |
---|
enableSorting | false |
---|
class | m5-configuration-tree |
---|
enableHighlighting | false |
---|
|
Node name | |
|
---|
| |
| |
| | |
| |
| |
| |
| | |
| | |
| | |
| |
| | |
| | |
| | info.magnolia.dam.app.assets.field.UploadAssetActionRenderer | | |
| | info.magnolia.dam.app.assets.field.UploadAndEditActionRenderer |
|
...
Magnolia provides mechanisms to reuse dialogs or more general said to reuse configuration items. See Reusing configuration and Generic tab for a dialog.