Showing or hiding a default action view.


   name STRING,
   hidden BOOLEAN )
  1. name is the name of the action, see Identifying actions in dialog methods.
  2. hidden is a boolean value.


Use the setActionHidden() method to hide the default view (and context menu option) of an action.
CALL DIALOG.setActionHidden( "confirm", TRUE )

The first parameter identifies the action object of the dialog.

The second parameter indicates if the implicit action views corresponding to this action must be visible (TRUE) or hidden (FALSE).

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.