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.

Since: Struts 1.1

Version: $Rev: 54929 $

Field Summary
booleanfilter
Stringid
StringoriginalProperty
Stringproperty
Method Summary
intdoEndTag()
intdoStartTag()
Overriding method of the heart of the tag.
booleangetFilter()
Getter method for the filter property
StringgetId()
Getter method for the id property
StringgetProperty()
Getter method for the property property
voidrelease()
JSP method to release all resources held by the tag.
voidsetFilter(boolean newFilter)
Setter method for the filter property
voidsetId(String id)
Setter method for the id property
voidsetProperty(String newProperty)
Setter method for the property property

Field Detail

filter

private boolean filter

id

private String id

originalProperty

private String originalProperty

property

private String property

Method Detail

doEndTag

public int doEndTag()

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.

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-2009 - The Apache Software Foundation