nest (Struts Taglib Tag library documentation)

Overview | Library | Tag | Help

| FRAMES NO FRAMES

## nested
Tag nest

Defines a new level of nesting for child tags to reference to

This tag provides a simple method of defining a logical nesting level in the nested hierarchy. It run no explicit logic, is simply a place holder. It also means you can remove the need for explicit setting of level properties in child tags.

Just as the iterate tag provide a parent to other tags, this does the same but there is no logic for iterating or otherwise.

Example...

     <nested:write property="myNestedLevel.propertyOne" /> <nested:write property="myNestedLevel.propertyTwo" /> <nested:write property="myNestedLevel.propertyThree" />

Can instead become...

     <nested:nest property="myNestedLevel" > <nested:write property="propertyOne" /> <nested:write property="propertyTwo" /> <nested:write property="propertyThree" /> </nested:nest >

Tag Information
Tag Class | org.apache.struts.taglib.nested.NestedPropertyTag
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
property | false | true | `java.lang.String` | This specifies the property by which this tag and all child tags will be relative to.

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.