The 5.7 branch of Magnolia reached End-of-Life on December 31, 2023, as specified in our End-of-life policy. This means the 5.7 branch is no longer maintained or supported. Please upgrade to the latest Magnolia release. By upgrading, you will get the latest release of Magnolia featuring significant improvements to the author and developer experience. For a successful upgrade, please consult our Magnolia 6.2 documentation. If you need help, please contact info@magnolia-cms.com.
Dialog action definitions control what happens when a user clicks buttons in a dialog. In a typical dialog you need at least commit and cancel actions.
Example: Save and Cancel actions in a typical dialog
actions: commit: class: info.magnolia.ui.dialog.action.SaveDialogActionDefinition label: Save cancel: class: info.magnolia.ui.dialog.action.CancelDialogActionDefinition label: Cancel
Node name | Value |
---|---|
<dialog name> | |
actions | |
commit | |
class | info.magnolia.ui.dialog.action.SaveDialogActionDefinition |
label | Save |
cancel | |
class | info.magnolia.ui.dialog.action.CancelDialogActionDefinition |
label | Cancel |
Properties:
<action name> | required Name of the action. |
| required Dialog action definition class Save and cancel and definition classes are provided. See Action definition classes. |