GWC Template Language Reference / Template Paths - TopMenu hierarchy |
Path: application/ui/topmenu/command[name] or application/ui/window/form/topmenu/command[name]
Snippet ID: TopMenuCommand
Corresponding AUI Tree element: TopMenuCommand
The TopMenuCommand is an object implementing a TopMenuItem object that represents a TopMenu command.
This object value is rendered thru the TopMenuCommand 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 name of the component, that is TopMenuCommand. |
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. |
ID | Attribute (string) | Object identifier. |
name | Attribute (string) | TopMenu command identifier. |
text | Attribute (string) | Text displayed for this command. |
comment | Attribute (string) | Comment displayed for this command. |
image | Attribute (string) | The associated image. |
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. |
acceleratorName | Attribute (string) | First accelerator name. |
islocal | Attribute (boolean) | True if the action is a front-end local action. False otherwise |