<ao:option>

Renders an <option> tag.

Tag Information

Tag Class: com.aoindustries.taglib.OptionTag
TagExtraInfo Class: None
Body Content: scriptless
Display Name: None

Attributes

Name Required Evaluation Type Description
value No Runtime Object

The value of the option. A nested <ao:value> tag will override this value. If neither is provided, the output of the body is used with whitespace trimmed.

selected No Runtime boolean

The selected attribute. Accepts values of true or false. A non-empty nested <ao:selected> tag will override this value. If selected is true, will add the attribute as selected="selected", 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.

Variables

No Variables Defined.