html.form.field.BaseEditableField | +-- html.form.field.BaseSingleValueField | +-- html.form.field.TextField
A textual form input field.
Supported value type is: java.lang.String
Attributes | ||
optional
int
|
Rows |
Number of text rows. Default: 1. |
optional
int
|
Cols |
Number of text columns (in chars). Default: 20. |
Named Children Elements | ||
mandatory
binding.Expression |
Label |
The displayed field label. |
optional
binding.Expression |
Tip |
A tip (information) associated to the field. |
optional
binding.Expression |
Visible |
Determines whether this field is visible. Default: true. |
optional
binding.Expression |
Editable |
Determines whether this field is editable. Default: true. |
0 - unbounded
html.menu.IMenuItem[] |
FieldButtons |
Buttons displayed right next to the form field. |
mandatory
binding.Expression |
Bind |
The expression to get (and possibly set) the associated value. |
0 - unbounded
validation.IValidator[] |
Validators |
Validators associated to this field. |
optional
binding.Expression |
IsPassword |
Defines whether this field is of password type (displays stars instead of clear text). Default: false. |
optional
html.form.field.IAutocomplete |
Autocomplete |
Associates an auto-completion component to this text field. |