Module: alfresco/buttons/AlfFormDialogButton

alfresco/buttons/AlfFormDialogButton

A button on a form dialog
Deprecated:
Author:
  • Dave Draper
License:
Source:

Example

Sample configuration:

{
  name: "alfresco/buttons/AlfFormDialogButton",
    config: {
       id: "MyFormDialogMenuItem",
       label: "Create Form Dialog",
       dialogTitle: "My Dialog",
       dialogConfirmationButtonTitle : "Post",
       dialogCancellationButtonTitle : "Close",
       formSubmissionTopic: "FORM_SUBMIT",
       widgets: [
          {
             name: "alfresco/forms/controls/DojoValidationTextBox",
             config: {
                name: "post_param",
                label: "Enter text",
                value: ""
             }
          }
       ]
    }
}

Extends

  • alfresco/menus/AlfMenuItem