Home > Guides > Tag Developers Guide > Struts Tags > Tag Reference > UI Tag Reference > optgroup

Please make sure you have read the Tag Syntax document and understand how tag attribute syntax works.

Description

Create a optgroup component which needs to resides within a select tag.

This component is to be used within a Select component.

Parameters

Dynamic Attributes Allowed:

false
 

Name

Required

Default

Evaluated

Type

Description

disabledfalsefalseStringSet the disable attribute.
labelfalsefalseStringSet the label attribute
listfalsefalseStringSet the list attribute.
listKeyfalsefalseStringSet the listKey attribute.
listValuefalsefalseStringSet the listValue attribute.

Examples