Description: An action element to add to an action list element. Can be used for normal actions of formActions.
JavaDoc: Click here
Body content: Empty. All enclosed content will be ignored.
Attributes:
| Name | Description | Data type | Required | Default value |
| type | The type for the action item | String | No | CUSTOM. See more bellow. |
| id | The id for the HTML element | String | No | Depends of "type" |
| label | The label for the menu item | String | No | Depends of "type" |
| title | The title for the menu item | String | No | Depends of "type", or the same as "label" |
| cssClass | The CSS class to use for the action | String | No | Depends of "type" |
| stageID | The ID of the stage to link to. | String | No | - |
| stageParameters | The stage parameters in a a key value comma separated list | String | No | - |
| url | The URL to link to. | String | No | - |
| javascript | The javascript code to run. | String | No | - |
| submitType | Submit type for the current form (SUBMIT/RESET). | String | No | - |
| newWindow | If the link should open in a new window or not. | Boolean | No | True for external URLs, False for stages and relative URLs |
| showWithoutAccess | Show even if the user has no access to the linked stage. | Boolean | No | False |
| disabled | Render the link as disabled. | Boolean | No | False |
| popup | A configuration string for popupMode activation | String | No | - |
| confirmation | Displays a default message to confirm the user operation | Boolean | No | False, unless confirmationMessage is set |
| confirmationMessage | Custom message for the confirmation message | String | No | - |
Action types:
Examples:
<dif:document>
<dif:actions>
<dif:actionItem type="send" />
<dif:actionItem type="save" />
<dif:actionItem type="print" />
<dif:actionItem type="help" />
<dif:actionItem stageID="mockupteststage" />
<dif:actionItem />
<dif:actionItem label="Test Grid" url="test.html" />
<dif:actionItem label="Sample Page" title="Some sample page" url="page.html" newWindow="true" />
<dif:actionItem label="Digitalis" url="http://www.digitalis.pt" />
<dif:actionItem stageID="mockupprivatestage" label="Private test Stage (always visible)" showWithoutAccess="true" />
<dif:actionItem stageID="mockupprivatestage" />
</dif:actions>
...
</dif:document>
See also: