public class ForEachTag
extends javax.servlet.jsp.tagext.BodyTagSupport
Constructor and Description |
---|
ForEachTag()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
doAfterBody()
Actions after some body has been evaluated.
|
int |
doEndTag()
Process the end tag.
|
int |
doStartTag()
Process the start tag for this instance.
|
void |
release()
Resets the state of the Tag.
|
void |
setComparator(String classname) |
void |
setFunctionOnTruncate(String functionName) |
void |
setMax(String maxString)
Sets the maximum number of displayed items.
|
void |
setName(String collectionName) |
void |
setOrder(String order) |
void |
setSeparator(String separator) |
void |
setSet(String itemName) |
void |
setStart(String startString)
Sets the start number for the object in the collection at this index,
counting from 0.
|
doInitBody, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
public int doStartTag() throws javax.servlet.jsp.JspTagException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspTagException
public int doAfterBody() throws javax.servlet.jsp.JspTagException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspTagException
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.BodyTagSupport
public void setName(String collectionName)
public void setSet(String itemName)
public void setComparator(String classname)
public void setOrder(String order) throws NavigatorRuntimeException
NavigatorRuntimeException
public void setMax(String maxString)
maxString
- try to convert to valid integer,
otherwise fallback to default value.
If Value is 0 or negative it is set to 1.public void setStart(String startString)
startString
- try to convert to valid integer,
otherwise fallback to default value.
If Value is 0 or negative it is set to 1.public void setSeparator(String separator)
public void setFunctionOnTruncate(String functionName)