<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.aoindustries.taglib.TextareaTag
TagExtraInfo Class: None
Body Content: scriptless
Display Name: None

Attributes

Name Required Evaluation Type Description
name No Runtime Object

The name of <textarea> tag. A nested <ao:name> tag will override this value.

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.

cols Yes Runtime int

The number of columns for the textarea element.

rows Yes Runtime int

The number of rows for the textarea element.

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.

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.

onchange No Static Object

A JavaScript onchange handler. A nested <ao:onchange> tag will override this value.

style No Runtime Object

The CSS style for the textarea element. A nested <ao:style> tag will override this value.

Variables

No Variables Defined.