org.apache.struts.taglib.nested

Class NestedWriteNestingTag


public class NestedWriteNestingTag
extends BodyTagSupport

NestedWriteNestingTag. Created so developers could have a more elegant way of getting to the underlying nested property their tag properties are referencing.

Version:
$Revision: 1.4 $

Author:
Arron Bates

Since:
Struts 1.1

Field Summary

private boolean
filter
private String
originalProperty
private String
property

Method Summary

int
doEndTag()
int
doStartTag()
Overriding method of the heart of the tag.
boolean
getFilter()
Getter method for the filter property
String
getProperty()
Getter method for the property property
void
release()
JSP method to release all resources held by the tag.
void
setFilter(boolean newFilter)
Setter method for the filter property
void
setProperty(String newProperty)
Setter method for the property property

Field Details

filter

private boolean filter


originalProperty

private String originalProperty


property

private String property

Method Details

doEndTag

public int doEndTag()
            throws JspException


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.

Returns:
int JSP continuation directive.


getFilter

public boolean getFilter()
Getter method for the filter property

Returns:
String value of the filter 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.


setFilter

public void setFilter(boolean newFilter)
Setter method for the filter property

Parameters:
newFilter - new value for the filter property


setProperty

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

Parameters:
newProperty - new value for the property property


Copyright B) 2000-2005 - Apache Software Foundation