By means of the <command> element enclosed by the <dialog> element before opening and after closing as well as by clicking the buttons [OK], [Cancel], [Yes] and [No] actions, resp. commands are executed.
Attribute name | Usage | Attribute values | Default value | Description |
---|---|---|---|---|
event | required | after, before, beforebuild, cancel, closed, doubleclick, no, ok, yes |
Event type, which describes when the action resp. the command is executed. after = after the dialog or the Form-UI page is built before = before opening the dialog beforebuild = before the new Form-UI page is built cancel = after clicking the cancel button closed = after the dialog is closed doubleclick = after double-clicking an entry of the table (only for pureTable) ok = after clicking the OK button yes = after clicking the Yes button no = after clicking the No button |
|
name | required | full qualified name of the action resp. the command which is to perform. | ||
arguments | optional | List | List of arguments that are passed to the action resp. the command |
Allowed sub-elements | Quantity |
---|---|
none |
A link from a child component to the parent component additionally executes three actions before:
- Save the name of a Form UI as value of a parameter.
- Save the status of the editing of the current name of a Form UI as value of a parameter.
- Update the extension points.
<open ref="mainframe" receiver="x" type="link" text="OPEN">
<command event="before"
name="customizing.SetParameters.SetParametersAction" />
arguments="=List{this.$UI_mainPate, Map{Pair{'UI_activePage',x}}}" />
<command event="before"
name="customizing.SetParameters.SetParametersAction" />
arguments="=List{x.$UI_ObjectRef, Map{Pair{'pageFinished',false}}}" />
<command event="before"
name="customizing.UpdateExtensions.UpdateExtensionsAction" />
arguments="=x.$UI_ObjectRef" />
</open>