Renders an <option> tag.
Tag Information
| Tag Class: | com.aoapps.taglib.OptionTag |
|---|---|
| TagExtraInfo Class: | com.aoapps.taglib.ElementTagTEI |
| 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. |
| disabled | No | Runtime | boolean |
The disabled attribute.
Accepts values of |
| selected | No | Runtime | boolean |
The selected attribute.
Accepts values of |
| 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. |