ui.Dialog.setActionImage
Set the image of a default action view.
Syntax
setActionImage(
name STRING,
image STRING )
- name is the name of the action, see Identifying actions in dialog methods.
- image is the image name to be set.
Usage
Use the
setActionImage()
method to define the image of the default view of an
action.CALL DIALOG.setActionImage( "confirm", "smiley" )
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.