org.apache.struts.taglib.nested.logic
public class NestedIterateTag extends IterateTag implements NestedNameSupport
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nesting |
private java.lang.String |
originalName |
private java.lang.String |
originalNesting |
private java.lang.String |
originalNestingName |
private java.lang.String |
originalProperty |
collection, id, indexId, iterator, length, lengthCount, lengthValue, messages, name, offset, offsetValue, property, scope, started, type
Constructor and Description |
---|
NestedIterateTag() |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
deriveNestedProperty()
The only added property to the class.
|
int |
doAfterBody()
This is only overriden as the include reference will need it's index
updated.
|
int |
doEndTag()
Complete the processing of the tag.
|
int |
doStartTag()
Overriding method of the heart of the matter.
|
void |
release()
Release the tag's resources and reset the values.
|
getCollection, getId, getIndex, getIndexId, getLength, getName, getOffset, getProperty, getScope, getType, setCollection, setId, setIndexId, setLength, setName, setOffset, setProperty, setScope, setType
doInitBody, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, setName
getProperty, setProperty
private java.lang.String nesting
private java.lang.String originalName
private java.lang.String originalProperty
private java.lang.String originalNesting
private java.lang.String originalNestingName
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class IterateTag
javax.servlet.jsp.JspException
- if a JSP exception has occurredprivate java.lang.String deriveNestedProperty()
public int doAfterBody() throws javax.servlet.jsp.JspException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class IterateTag
javax.servlet.jsp.JspException
- if a JSP exception has occurredpublic int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class IterateTag
javax.servlet.jsp.JspException
- for the bad things JSP's dopublic void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class IterateTag
Copyright ? 2000-2014 - The Apache Software Foundation