The StartMenu object

Path: application/ui/startmenu

Snippet ID: StartMenu

Corresponding AUI Tree element: StartMenu

The StartMenu is a unique sub-object from the UserInterface object that represents the application Start Menu if any.

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

Fields (Attributes) Type Description
application/ui/startmenu/CID Attribute (string) The corresponding component identifier.
application/ui/startmenu/type Attribute (string) Type of the component.
application/ui/startmenu/name Attribute (string) StartMenu identifier.
application/ui/startmenu/text Attribute (string) StartMenu title.
application/ui/startmenu/hidden Attribute (number) Corresponds to the HIDDEN attribute in 4GL.
application/ui/startmenu/items Collection of StartMenuItem objects The list of all items in the StartMenu.Used in a repeat instruction to loop on each file in the list.
application/ui/startmenu/items/length Attribute (number) Number of items in the collection.

Example

<div gwc:condition="application/ui/startmenu"  
 gwc:repeat="var application/ui/startmenu/items">  
  <div gwc:content="var/text" />
</div>

Displays the label of items in the startmenu.