Action default attributes

Table 1. Action default attributes
Attribute Description
name = string This attribute identifies the action.
text = string The default label to be displayed in action views (typically, the text of buttons).
comment = string The default help text for this action (typically, displayed as bubble help).
image = string The default image file to be displayed in the action view.
acceleratorName = string The default accelerator key that can trigger the action, as defined in Keyboard accelerator names.
acceleratorName2 = string The second default accelerator key that can trigger the action, as defined in Keyboard accelerator names.
acceleratorName3 = string The third default accelerator key that can trigger the action, as defined in Keyboard accelerator names.
acceleratorName4 = string The fourth default accelerator key that can trigger the action, as defined in Keyboard accelerator names.
defaultView = string

Indicates whether the front-end must show the default action view (buttons in control frame).

Values can be:
  • "no" the default action view is never visible.
  • "yes" the default action view is always visible, if the action is visible (ui.Dialog.setActionHidden).
  • "auto" the default action view is visible if no other action view is explicitly defined and the action is visible (ui.Dialog.setActionHidden).

The default is "auto".

contextMenu = string

Indicates whether the front-end must render the action in the default context menu.

Values can be:
  • "no" the context menu option is never visible.
  • "yes" the context menu option is always visible, if the action is visible (ui.Dialog.setActionHidden).
  • "auto" the context menu option is visible if no other action view is explicitly defined and the action is visible (ui.Dialog.setActionHidden).

The default is "yes".

validate = string

Defines the behavior of data validation when the action is invoked.

Values can be:
  • "no" no data validation is done (field text only available in input buffer).

By default, data validation is driven by the dialog mode (UNBUFFERED or default mode).

For more details, see Data validation at action invocation.