GWC Template Language Reference / Template Paths - Widgets hierarchies |
Path: relative paths according to sequences.
Snippet ID: ComboBox
Corresponding AUI Tree element: FormField/ComboBox
Fields (Attributes) | Type | Description |
---|---|---|
valueText | Attribute (string) | Value of the ComboBox object. |
queryEditable | Attribute (boolean) | Corresponds to the QUERYEDITABLE attribute in 4GL. |
hasEmptyItem | Attribute (boolean) | True if the NOT NULL in 4GL is not set. |
items | Collection of ChoiceItem objects | A list of choices. |
items/length | Attribute (number) | Number of items in the collection. |
shift | Attribute (string) | Corresponds to the SHIFT attribute in 4GL. |
fontPitch | Attribute (string) | Corresponds to the FONTPITCH attribute value in 4GL. |
Common attributes for this object are available in the Common Fields section.
<span gwc:content="'Number of items: ' + items/length"></span>
Display the number of items in the ComboBox.