org.apache.struts.taglib.nested
Class NestedRootTag
BodyTagSupport
org.apache.struts.taglib.nested.NestedRootTag
- NestedNameSupport, NestedPropertySupport, NestedTagSupport
public class NestedRootTag
extends BodyTagSupport
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.
$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() - 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
|
originalName
private String originalName
originalNesting
private String originalNesting
originalNestingName
private String originalNestingName
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()
Getter method for the name property
- getName in interface NestedNameSupport
- String value of the 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 name)
Setter method for the name property
- setName in interface NestedNameSupport
name
- new value for the name property
setProperty
public void setProperty(String property)
Setter method for the property property
- setProperty in interface NestedPropertySupport
property
- new value for the property property
Copyright B) 2000-2007 - The Apache Software Foundation