<ao:textarea>

Renders a <textarea> tag.

The value may be provided in one of three ways, in precedence order:

  1. Direct child <ao:value> tag.
  2. As the value attribute
  3. 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 true or false. A non-empty nested <ao:disabled> tag will override this value. If disabled is true, will add the attribute as disabled="disabled", otherwise the attribute is not added.

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 true or false. A non-empty nested <ao:readonly> tag will override this value. If readonly is true, will add the attribute as readonly="readonly", otherwise the attribute is not added.

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.

Variables

No Variables Defined.