| GWC Template Language Reference / Template Paths - Widgets hierarchies | |
Path: application/ui/window/form/formfield[name] or relative paths according to sequences.
Snippet ID: FormField
Corresponding AUI Tree element: FormField
| Fields (Attributes) | Type | Description | 
|---|---|---|
| CID | Attribute (number) | Component identifier. | 
| type | Attribute (string) | Type name of the component, that is FormField. | 
| selectorID | Attribute (string) | Id of the FormField in matrix. | 
| selectorDID Deprecated ! | Attribute (string) | Dialog identifier. This function is deprecated use selectorXDID instead.  | 
| selectorXDID | Attribute (string) | Dialog identifier in exclusive format. See
the function makeRowSelectionIDID to use the inclusive
format. Syntax: control-name=control-value where control-name is selectorXDID and control-value is the row index. Example: <input type="radio" gwc:attributes="name selectorXDID; value selectorIndex" ... /> produces <input type="radio" name="r89" value="50" ... />  | 
| isSelected | Attribute (boolean) | True if the FormField is selected. | 
| selectorIndex | Attribute (number) | Index of FormField in a matrix. | 
| isFirstColumn | Attribute (boolean) | True if the FormField is in the first column. | 
| item | Object | The FormField Widget. | 
| cursor | Attribute (number) | Position of the input cursor. | 
| cursor2 | Attribute (number) | Position of the start of the input selection. | 
| hidden | Attribute (number) | Corresponds to the HIDDEN attribute in 4GL. | 
| height | Attribute (number) | Height of the component. | 
| width | Attribute (number) | Width of the component. | 
| posx | Attribute (number) | X position of the component. | 
| posy | Attribute (number) | Y position of the component. | 
| gridheight | Attribute (number) | Grid height of the component. | 
| gridwidth | Attribute (number) | Grid width of the component. | 
<span gwc:content="'type: ' + item/type" />
Display the type of a FormField element.