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 Classorg.apache.struts.taglib.nested.html.NestedOptionsTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

collectionfalsetruejava.lang.StringNo Description
filterfalsetruebooleanNo Description
labelNamefalsetruejava.lang.StringNo Description
labelPropertyfalsetruejava.lang.StringNo Description
namefalsetruejava.lang.StringNo Description
propertyfalsetruejava.lang.StringNo Description
stylefalsetruejava.lang.StringNo Description
styleClassfalsetruejava.lang.StringNo Description

No Variables Defined.

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.