org.apache.struts.taglib.nested
Class NestedRootTag
public
class
NestedRootTag
extends BodyTagSupport
implements NestedNameSupport
NestedRootTag.
The only other addition in this nested suite of tags.
This tag allows for a nested structure to start without relying on the bean
and workings of the FormTag. Useful for view pages that don't update when
returning to the server, or use hyperlinks rather than form submits.
The Bean that it uses can come out of a jsp:useBean tag or define another
bean that's already in scope. As long as the other Struts tags can find the
bean by name, it'll work.
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) $
Method Summary |
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() Getter method for the 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 name) Setter method for the name property |
void | setProperty(String property) Setter method for the property property |
private String name
private String originalName
private String originalNesting
private String originalNestingName
public int doAfterBody()
Render the resulting content evaluation.
Returns: int JSP continuation directive.
public int doEndTag()
Evaluate the rest of the page
Returns: int JSP continuation directive.
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.
public String getName()
Getter method for the
name property
Returns: String value of the name property
public String getProperty()
Getter method for the
property property
Returns: String value of the property property
public void release()
JSP method to release all resources held by the tag.
public void setName(String name)
Setter method for the
name property
Parameters: name new value for the name property
public void setProperty(String property)
Setter method for the
property property
Parameters: property new value for the property property
Copyright B) 2000-2007 - The Apache Software Foundation