| GWC Template Language Reference / Template Paths - Widgets hierarchies | |
Path: formfield/object/field
| Fields (Attributes) | Type | Description |
|---|---|---|
| CID | Attribute (number) | Component identifier. Unique identifier of an instance of a component in the HTML page. |
| DID Deprecated! | Attribute (integer) | Dialog identifier. This path is deprecated. Use XDID path or makeValueIDID function instead. |
| XDID | Attribute (string) | Dialog identifier in exclusive format . To
use the inclusive format see the function makeValueIDID. Example: <input type="radio" gwc:attributes="name XDID; value value" ... /> produces: <input type="radio" name="v89" value="tata" ... /> |
| id | Attribute (integer) | Object identifier. |
| type | Attribute (string) | Type name of the component, that is Label, Edit, etc. |
| name | Attribute (string) | The Widget name. |
| comment | Attribute (string) | Corresponds to the COMMENT attribute of the Widget. |
| hidden | Attribute (number) | Corresponds to the HIDDEN attribute in 4GL. |
| tag | Attribute (string) | Corresponds to the TAG attribute of the Widget. |
| class | Attribute (string) | Corresponds to the STYLE attribute of the Widget. |
| style[ attribute-name ] | Attribute (string) | This selectable path will return the given attribute value inherited for this window. |
| decorationstyle[ attribute-name ] | Collection of DecorationStyleItem objects | This selectable path will return the given attribute value DecorationStyleItem object for this object. This object gives access to all pseudo-selector values for the given attribute. |
| decorationstyles | Collection of DecorationStylesItem objects | This path will return a DecorationStylesItem object for this object. This object gives access to all style attributes. |
| value | Attribute (string) | Corresponds to the VALUE attribute in the AUI tree. See also makeValueIDIDto build a value in Xinclusive format. |
| isModifiable | Attribute (boolean) | True if you can enter a value for the widget (for example in input mode). |
| hasFocus | Attribute (boolean) | True id the Widget has the focus. |
| noEntry | Attribute (number) | Corresponds to the NOENTRY attribute in 4GL. |
| notNull | Attribute (number) | Corresponds to the NOT NULL attribute in 4GL. |
| isRequired | Attribute (boolean) | True if the REQUIRED attribute is set in 4GL. |
| isQuery | Attribute (boolean) | Corresponds to the QUERYEDITABLE in 4GL. |
| isSelectable | Attribute (boolean) | True if the Widget can be selected. |
| width | Attribute (string) | Corresponds to the WIDTH attribute in 4GL. |
| height | Attribute (string) | Corresponds to the HEIGHT attribute in 4GL. |
| queryCleanerValue | Attribute (string) | GWC specific information to reset a QBE/construct. |
| tabIndex | Attribute (number) | Corresponds to the TABINDEX attribute in 4GL. |
| subtabindex | Attribute (number) | GWC specific information for fields in matrix or tables. |
| hasOnChange | Attribute (boolean) | True when the field is associated with an ON CHANGE trigger. |
| sizePolicy | Attribute(string) | Corresponds to the SIZEPOLICY attribute in 4GL. |
| sample | Attribute (string) | Corresponds to the SAMPLE attribute value in 4GL. |
| ttybackgroundcolor | Attribute (string) | TTY background color. |
| ttycolor | Attribute (string) | TTY foreground color. |
| ttyfontfamily | Attribute (string) | TTY font family. |
| ttyweight | Attribute (string) | TTY weight. |
| ttydecoration | Attribute (string) | TTY decoration. |