|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport javax.servlet.jsp.tagext.BodyTagSupport org.apache.myfaces.tobago.taglib.component.ForEachTag
@Deprecated public class ForEachTag
Replacement for the JSTL <c:foreach> tag.
This tags iterates over the body content without setting up an exported
scope variable, but replaces all occurrence's of var
in
TobagoTag's ValueBinding
attributes.
All non TobagoTags are treated as they are, no
replacement is done, and so no ability to use the var
in el.
Nested Class Summary | |
---|---|
static class |
ForEachTag.IterationHelper
Deprecated. |
Field Summary | |
---|---|
static String |
ALL
Deprecated. |
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
---|
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
ForEachTag()
Deprecated. |
Method Summary | |
---|---|
int |
doAfterBody()
Deprecated. |
int |
doStartTag()
Deprecated. |
ForEachTag.IterationHelper |
getIterationHelper()
Deprecated. |
void |
release()
Deprecated. |
void |
setBegin(String begin)
Deprecated. Index at which the iteration begins. |
void |
setEnd(String end)
Deprecated. Index at which the iteration stops. |
void |
setItems(String items)
Deprecated. ValueBindingExpression pointing to a java.util.List , java.util.Map or
Object[] of items to iterate over. |
void |
setStep(String step)
Deprecated. Index increments every iteration by this value. |
void |
setVar(String var)
Deprecated. Name of a request-scope attribute under which the model data for for each subobject is accessible. |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
doEndTag, doInitBody, getBodyContent, getPreviousOut, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
---|
getParent, setPageContext, setParent |
Field Detail |
---|
public static final String ALL
Constructor Detail |
---|
public ForEachTag()
Method Detail |
---|
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class BodyTagSupport
JspException
public int doAfterBody() throws JspException
doAfterBody
in interface IterationTag
doAfterBody
in class BodyTagSupport
JspException
public void release()
release
in interface Tag
release
in class BodyTagSupport
public void setItems(String items)
java.util.List
, java.util.Map
or
Object[]
of items to iterate over.
public void setVar(String var)
HasVar
setVar
in interface HasVar
public void setBegin(String begin)
public void setEnd(String end)
items.length()
.
public void setStep(String step)
public ForEachTag.IterationHelper getIterationHelper()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |