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:
$Rev: 54929 $
Since:
Struts 1.1

Field Summary

private boolean
filter
private String
id
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
getId()
Getter method for the id 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
setId(String id)
Setter method for the id property
void
setProperty(String newProperty)
Setter method for the property property

Field Details

filter

private boolean filter

id

private String id

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

getId

public String getId()
Getter method for the id property
Returns:
String value for the id 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

setId

public void setId(String id)
Setter method for the id property
Parameters:
id - new value for the id property

setProperty

public void setProperty(String newProperty)
Setter method for the property property
Parameters:
newProperty - new value for the property property

Copyright B) 2000-2007 - The Apache Software Foundation