Overview | Library | Tag | Help
| FRAMES NO FRAMES

## wl-extension
Tag optionsCollection

Generates one HTML option tag for each row bean in a collection. To generate HTML options: 1. This tag's "name" attribute specifies a form bean that contains the collection of row beans. 2. The "property" attribute specifies the form bean property that contains the collection. 3. For each row bean in the collection, this tag outputs an HTML options The "label" attribute of this tag specifies the property in the row bean that defines the text to render in the Web browser (<option label="">). The "value" attribute specifies the property in the row bean that defines a value to pass to the form (<option value="">). The Administration Console uses this tag to automatically generate options for all values that an MBean declares as being legal for a given attribute. This tag is valid only when nested in <wl-extension:select>.

Examples
<wl-extension:optionsCollection property="serverLoggingGeneral.logFileSeverityValues" label="label" value="value"/>

Tag Information
Tag Class | com.bea.console.taglib.form.OptionsCollectionTagAdapter
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
filter | false | true | `java.lang.String` |
label | false | true | `java.lang.String` | The property in a row bean that defines the text (label) to render for an option.
name | false | true | `java.lang.String` | The name of the Struts form bean that contains row beans for this form. Use the "property" attribute to specify which property contains the row beans.
property | false | true | `java.lang.String` | The property of the form bean that contains a collection of row beans.
style | false | true | `java.lang.String` | CSS styles to render as inline styles for this HTML tag.
styleClass | false | true | `java.lang.String` | The name of a CSS class to render for this HTML tag. This tag assumes that you have created a CSS stylesheet that contains styles for this class.
value | false | true | `java.lang.String` | The property in a row bean that defines a value to pass to the form for an option.

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

Output Generated by Tag Library Documentation Generator.

Version: 9.1