Renders a <textarea> tag.
The value may be provided in one of three ways, in precedence order:
- Direct child <ao:value> tag.
- As the value attribute
- Contents of tag body.
Tag Information
Tag Class: | com.aoapps.taglib.TextareaTag |
---|---|
TagExtraInfo Class: | None |
Body Content: | scriptless |
Display Name: | None |
Dynamic Attributes: | true |
Attributes
Name | Required | Evaluation | Type | Description |
---|---|---|---|---|
id | No | Runtime | String |
The id of the element. A nested <ao:id> tag will override this value. |
class | No | Runtime | Object |
The CSS class for the element. A nested <ao:class> tag will override this value. |
dir | No | Runtime | String |
The dir of the element. A nested <ao:dir> tag will override this value. |
style | No | Runtime | Object |
The CSS style for the element. A nested <ao:style> tag will override this value. |
cols | No | Runtime | int |
The number of columns for the textarea element. |
disabled | No | Runtime | boolean |
The disabled attribute.
Accepts values of |
name | No | Runtime | Object |
The name of the textarea element. A nested <ao:name> tag will override this value. |
readonly | No | Runtime | boolean |
The readonly attribute.
Accepts values of |
rows | No | Runtime | int |
The number of rows for the textarea element. |
value | No | Runtime | Object |
The value of the textarea. A nested <ao:value> tag will override this value. If neither is provided, the output of the body is used. |
onchange | No | Runtime | Object |
A JavaScript onchange handler. A nested <ao:onchange> tag will override this value. |