Show TOC

Object documentationCreate Toolbar Buttons Dialog Box Locate this document in the navigation structure

 

You use this dialog box to create, in a table or other UI component, a collection of buttons that initiate different actions in the workflow, such as adding a row in a table, displaying a popup window or closing a window.

 

This dialog box is displayed when you right-click a component and choose Create Toolbar from the context menu, or when you click the Edit button to the right of the Toolbar field in the Configure task panel. You can display the dialog box on either the Design board or the Layout board.

For an explanation of the procedure for creating a runtime toolbar, see Create a Toolbar in the SAP NetWeaver Visual Composer Modeler's Guide.

Structure

To create toolbar buttons, you use the buttons at the bottom left of the dialog box, naming each button in the Button name field at the top. The buttons that you create are listed in the Toolbar Buttons pane at the left.

Once you have added and named the toolbar button, you define the action assigned to the button exactly as you do in the Action tab of the Control Properties dialog box. The contents of this dialog box change according to the type of action you define for the button:

  • A “system action” is a predefined event, such as closing a window or inserting a row. You select the specific action from the popup menu displayed when you add an action (click the Add (Add) button.

  • A “custom action” is a specialized action that you define, by choosing Custom action from the popup menu and entering the name for the action in the Action Name column of the new row.

The options for defining these types of actions are described fully in Control Properties - Action Tab.

The following table describes the controls and fields of this dialog box:

Section

Control

Description

[Bottom left]

Add (Add)

Adds a new button to the toolbar

Delete (Delete)

Removes the selected button from the toolbar

Up (Up)

Moves the selected button one place up (to the left) in the toolbar configuration

Down (Down)

Moves the selected button one place down (to the right) in the toolbar configuration

Separator (Separator)

Adds a separator bar to the toolbar

Define Button

Button name

The text appearing on the button, which should correspond to the event name defined for the connector line

List in the middle

See Control Properties - Action Tab