org.apache.struts.taglib.nested

Class NestedPropertyTag

public class NestedPropertyTag extends BodyTagSupport implements NestedNameSupport

NestedPropertyTag. The one of only two additions in this nested suite of tags. This is so that you can specify extra levels of nesting in one elegant tag rather than having to propagate and manage an extra dot notated property in nested child tags. It's simply recognised by the helper class and it's property is added to the nesting list.

Since: Struts 1.1

Version: $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $

Field Summary
StringoriginalName
StringoriginalNest
StringoriginalProperty
Stringproperty
Method Summary
intdoAfterBody()
Render the resulting content evaluation.
intdoEndTag()
Evaluate the rest of the page
intdoStartTag()
Overriding method of the heart of the tag.
StringgetName()
StringgetProperty()
Getter method for the property property
voidrelease()
JSP method to release all resources held by the tag.
voidsetName(String newNamed)
voidsetProperty(String newProperty)
Setter method for the property property Also, only setting the original property value to those values not set by the nested logic.

Field Detail

originalName

private String originalName

originalNest

private String originalNest

originalProperty

private String originalProperty

property

private String property

Method Detail

doAfterBody

public int doAfterBody()
Render the resulting content evaluation.

Returns: int JSP continuation directive.

doEndTag

public int doEndTag()
Evaluate the rest of the page

Returns: int JSP continuation directive.

doStartTag

public int doStartTag()
Overriding method of the heart of the tag. Gets the relative property and tells the JSP engine to evaluate its body content.

Returns: int JSP continuation directive.

getName

public String getName()

getProperty

public String getProperty()
Getter method for the property property

Returns: String value of the property property

release

public void release()
JSP method to release all resources held by the tag.

setName

public void setName(String newNamed)

setProperty

public void setProperty(String newProperty)
Setter method for the property property Also, only setting the original property value to those values not set by the nested logic.

Parameters: newProperty new value for the property property

Copyright B) 2000-2008 - The Apache Software Foundation