Widgets that can be used as controller views
Widgets of several types can be used as controller views.
The following table lists those widget types, along with the types of models that were tested for each.
| Widget | Type of model |
|---|---|
| Checkbox (for selection state) | BOOLEAN, STRING (TRUE or FALSE) |
| Combo | BIGINT, BOOLEAN, INT, NUM, SMALLINT |
| DojoCheckBox (for selection state) | BOOLEAN, STRING (TRUE or FALSE) |
| DojoCurrencyTextBox (for currency input) | BIGINT, INT, MONEY, NUM, STRING Do not use formatters or unformatters with widgets of this type. |
| DojoDateTextBox (for selected date) | DATE, STRING Do not use formatters or unformatters with widgets of this type. |
| DojoRadioGroup (for button text) | INT, SMALLINT, STRING |
| DojoTextArea | STRING |
| DojoTextField | STRING |
| DojoTimeTextBox (for selected time) | STRING, TIME Do not use formatters or unformatters with widgets of this type. |
| HTML (for content in the HTML tag) | STRING |
| Hyperlink (for displayed text) | STRING |
| Image (for alternate text) | STRING |
| List | BOOLEAN, INT, SMALLINT, STRING |
| PasswordTextBox | STRING |
| RadioGroup (for button text) | INT, SMALLINT, STRING |
| TextArea | STRING |
| TextField | BIGINT, BOOLEAN, DATE, INT, MONEY, NUM, STRING, TIME, TIMESTAMP |
If you want to develop your own EGL widget types, be aware that a widget type can be included in the preceding list only if the type has a text property, as is the case of the TextField widget, or is defined with data-conversion detail, as described in @MVCView.