| GWC Template Language Reference / Template Paths - TopMenu hierarchy | |
Path: no absolute path available
Snippet ID: TopMenuGroup
Corresponding AUI Tree element: TopMenuGroup
The TopMenuGroup is an object implementing a TopMenuItem object that represents a group of TopMenu items.
This object value is rendered thru the TopMenuGroup 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 TopMenuGroup. |
| name | Attribute (string) | TopMenu group identifier. |
| text | Attribute (string) | Text displayed for the TopMenu group. |
| comment | Attribute (string) | Comment displayed fot the TopMenu group. |
| image | Attribute (string) | Image associated to the TopMenu group |
| hidden | Attribute (number) | Corresponds to the HIDDEN attribute in 4GL. |
| tag | Attribute (string) | Corresponds to the attribute TAG value. |
| items | Collection of TopMenuItem objects | The list of all items in the TopMenu group. Used in a repeat instruction to loop on each file in the list. |
| items/length | Attribute (number) | Number of items in the collection. |