ui.Dialog.setActionText
Defining the text of a default action view.
Syntax
setActionText(
name STRING,
text STRING )
- name is the name of the action, see Identifying actions in dialog methods.
- text is the text to be set.
Usage
Use the
setActionText()
method to define the label of the default view of an
action.CALL DIALOG.setActionText( "confirm", "Confirm" )
The first parameter identifies the action object of the dialog.
Important:
This method will only affect the rendering of the default
view for the specified action. Explicit action views (such as buttons in the form layout) will not
get the new attribute value.