Back to Contents


Template Paths - Toolbar hierarchy


The Toolbar object

Path: application/ui/toolbar or application/ui/window/form/toolbar

Snippet ID: Toolbar

Corresponding AUI Tree element: Toolbar

The Toolbar is a unique sub-object from the UserInterface or Form object that represents the application or window tools bar if any.

This object value is rendered thru the Toolbar snippet when invoked in a gwc:replace or gwc:content instruction.

Fields (Attributes) Type Description
CID Attribute (string) The corresponding component identifier.
type Attribute (string) Object type.
name Attribute (string) ToolBar identifier.
hidden Attribute (number) Corresponds to the HIDDEN attribute in 4GL.
tag Attribute (string) Corresponds to the attribute TAG value.
buttonTextHidden Attribute (number) Set to 1 if the texts associated to the ToolBar items are not displayed.
items Collection of ToolbarItem objects The list of all items in the top menu.
Used in a repeat instruction to loop on each file in the list.

Back to the top


The ToolbarItem objects

ToolbarItem objects are in fact one of the following type :

Back to the top


The ToolbarCommand object

Path: no absolute path available

Snippet ID: ToolbarItem

Corresponding AUI Tree element: ToolbarItem

The ToolbarCommand is an object implementing a ToolbarItem object that represents a Toolbar command.

This object value is rendered thru the ToolbarItem snippet when invoked in a gwc:replace or gwc:content instruction.

Fields (Attributes) Type Description
CID Attribute (string) The corresponding component identifier.
type Attribute (string) Object type.
id Attribute (string) Object identifier.
DID Deprecated ! Attribute (string) Dialog identifier.
This path is deprecated use IDID or XDID instead.
IDID Attribute (string) Dialog identifier with inclusive format.
XDID Attribute (string) Dialog identifier with exclusive format.
name Attribute (string) ToolBar command identifier.
text Attribute (string) Text displayed for this command.
comment Attribute (string) Comment displayed for this command.
image Attribute (string) Image associated to this command.
isActive Attribute (boolean) True if the command is active.
hidden Attribute (number) Corresponds to the HIDDEN attribute in 4GL..
tag Attribute (string) Corresponds to the attribute TAG value.
buttonTextHidden Attribute (number) Set to 1 if text associated to the command should not be displayed.

Back to the top


The ToolbarSeparator object

Path: no absolute path available

Snippet ID: ToolbarSeparator

Corresponding AUI Tree element: ToolbarSeparator

The ToolbarSeparator is an object implementing a ToolbarItem object that represents a separator.

This object value is rendered thru the ToolbarSeparator snippet when invoked in a gwc:replace or gwc:content instruction.

Fields (Attributes) Type Description
CID Attribute (string) The corresponding component identifier.
type Attribute (string) Type of the component.

Back to the top