options (Struts Taglib Tag library documentation)

Overview | Library | Tag | Help

| FRAMES NO FRAMES

## nested
Tag options

Nested Extension - Render a Collection of Select Options

This tag is an extension of the `<html:options>` tag. Please consult its documentation for information on tag attributes and usage details.

Note: The nested context of this tag relies on the use of the "property" property, and the internal use of the "name" property. The nested tags rely on these properties and will attempt to set them itself. The `<html:options>` tag this tag extended allows other options for the tag which don't use these properties. To take advantage of these options, markup using the `<html:options>` tag instead of the nested tag.

For example, the "collections" option allows you to specify a separate bean reference which itself is a list of objects with properties to access the title and value parts of the html option tag. You can use this in a nested context (the list is a property of a nested bean) by using the nested define tag and the original options tag.

     <nested:nest property="myNestedLevel" /> <nested:define property="collectionList" /> <html:options collection="collectionList" property="valueProperty" labelProperty="labelProperty" /> </nested:nest >

Tag Information
Tag Class | org.apache.struts.taglib.nested.html.NestedOptionsTag
TagExtraInfo Class | None
Body Content | empty
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
collection | false | true | `java.lang.String` | No Description
filter | false | true | `boolean` | No Description
labelName | false | true | `java.lang.String` | No Description
labelProperty | false | true | `java.lang.String` | No Description
name | false | true | `java.lang.String` | No Description
property | false | true | `java.lang.String` | No Description
style | false | true | `java.lang.String` | No Description
styleClass | false | true | `java.lang.String` | No Description

Variables
No Variables Defined.

Overview | Library | Tag | Help

| FRAMES NO FRAMES

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.