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) $

Field Summary
Stringname
StringoriginalName
StringoriginalNesting
StringoriginalNestingName
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()
Getter method for the name property
StringgetProperty()
Getter method for the property property
voidrelease()
JSP method to release all resources held by the tag.
voidsetName(String name)
Setter method for the name property
voidsetProperty(String property)
Setter method for the property property

Field Detail

name

private String name

originalName

private String originalName

originalNesting

private String originalNesting

originalNestingName

private String originalNestingName

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()
Getter method for the name property

Returns: String value of the name property

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 name)
Setter method for the name property

Parameters: name new value for the name property

setProperty

public void setProperty(String property)
Setter method for the property property

Parameters: property new value for the property property

Copyright B) 2000-2008 - The Apache Software Foundation