ui.Dialog.setActionImage

Set the image of a default action view.

Syntax

setActionImage(
   name STRING,
   image STRING )
  1. name is the name of the action, see Identifying actions in dialog methods.
  2. 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.

The second parameter defines the image resource to be used in the implicit action view corresponding to the specified action.

This method will only affect the rendering of implicit action views such as default action views, context menu action views and rowbound action views: The explicit action views (such as buttons in the form layout) will not get the new attribute value. Note that the comment attribute will not be rendered on context menu and rowbound action views.