org.apache.struts.taglib.nested
public class NestedPropertyTag extends javax.servlet.jsp.tagext.BodyTagSupport implements NestedNameSupport
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
originalName |
private java.lang.String |
originalNest |
private java.lang.String |
originalProperty |
private java.lang.String |
property |
Constructor and Description |
---|
NestedPropertyTag() |
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String |
getName()
The getters and setters required to set a tags name property.
|
java.lang.String |
getProperty()
Getter method for the property property
|
void |
release()
JSP method to release all resources held by the tag.
|
void |
setName(java.lang.String newNamed)
The setter for the name property
|
void |
setProperty(java.lang.String newProperty)
Setter method for the property property
Also, only setting the original property value to those values not
set by the nested logic.
|
doInitBody, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
private java.lang.String property
private java.lang.String originalNest
private java.lang.String originalName
private java.lang.String originalProperty
public java.lang.String getName()
NestedNameSupport
getName
in interface NestedNameSupport
public void setName(java.lang.String newNamed)
NestedNameSupport
setName
in interface NestedNameSupport
newNamed
- new String value to set the name property topublic java.lang.String getProperty()
getProperty
in interface NestedPropertySupport
public void setProperty(java.lang.String newProperty)
setProperty
in interface NestedPropertySupport
newProperty
- new value for the property propertypublic int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
public int doAfterBody() throws javax.servlet.jsp.JspException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.BodyTagSupport
Copyright ? 2000-2014 - The Apache Software Foundation