org.apache.struts.taglib.nested
Class NestedPropertyTag
BodyTagSupport
org.apache.struts.taglib.nested.NestedPropertyTag
- NestedNameSupport, NestedPropertySupport, NestedTagSupport
public class NestedPropertyTag
extends BodyTagSupport
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.
$Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
int | doAfterBody() - Render the resulting content evaluation.
|
int | doEndTag() - Evaluate the rest of the page
|
int | doStartTag() - Overriding method of the heart of the tag.
|
String | getName() - The getters and setters required to set a tags name property.
|
String | getProperty() - Getter method for the property property
|
void | release() - JSP method to release all resources held by the tag.
|
void | setName(String newNamed) - The setter for the name property
|
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.
|
originalName
private String originalName
originalNest
private String originalNest
originalProperty
private String originalProperty
property
private String property
doAfterBody
public int doAfterBody()
throws JspException
Render the resulting content evaluation.
- int JSP continuation directive.
doEndTag
public int doEndTag()
throws JspException
Evaluate the rest of the page
- int JSP continuation directive.
doStartTag
public int doStartTag()
throws JspException
Overriding method of the heart of the tag. Gets the relative property
and tells the JSP engine to evaluate its body content.
- int JSP continuation directive.
getName
public String getName()
The getters and setters required to set a tags name property.
- getName in interface NestedNameSupport
- String value of the tags' name property
getProperty
public String getProperty()
Getter method for the property property
- getProperty in interface NestedPropertySupport
- 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)
The setter for the name property
- setName in interface NestedNameSupport
newNamed
- new String value to set the name property to
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.
- setProperty in interface NestedPropertySupport
newProperty
- new value for the property property
Copyright B) 2000-2007 - The Apache Software Foundation