org.apache.myfaces.tobago.taglib.component
Class ForEachTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.myfaces.tobago.taglib.component.ForEachTag
- All Implemented Interfaces:
- Serializable, BodyTag, IterationTag, JspTag, Tag, HasVar
Deprecated.
@Deprecated
public class ForEachTag
- extends BodyTagSupport
- implements HasVar
Replacement for the JSTL 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.
- See Also:
- Serialized Form
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 the row
selected by the current value of the "rowIndex" property
(i.e. also the current value of the "rowData" property) will be exposed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALL
public static final String ALL
- Deprecated.
- See Also:
- Constant Field Values
ForEachTag
public ForEachTag()
- Deprecated.
doStartTag
public int doStartTag()
throws JspException
- Deprecated.
- Specified by:
doStartTag
in interface Tag
- Overrides:
doStartTag
in class BodyTagSupport
- Throws:
JspException
doAfterBody
public int doAfterBody()
throws JspException
- Deprecated.
- Specified by:
doAfterBody
in interface IterationTag
- Overrides:
doAfterBody
in class BodyTagSupport
- Throws:
JspException
release
public void release()
- Deprecated.
- Specified by:
release
in interface Tag
- Overrides:
release
in class BodyTagSupport
setItems
public void setItems(String items)
- Deprecated.
- ValueBindingExpression pointing to a
java.util.List
, java.util.Map
or
Object[]
of items to iterate over.
setVar
public void setVar(String var)
- Deprecated.
- Description copied from interface:
HasVar
- Name of a request-scope attribute under which the model data for the row
selected by the current value of the "rowIndex" property
(i.e. also the current value of the "rowData" property) will be exposed.
- Specified by:
setVar
in interface HasVar
setBegin
public void setBegin(String begin)
- Deprecated.
- Index at which the iteration begins.
setEnd
public void setEnd(String end)
- Deprecated.
- Index at which the iteration stops.
Defaults to
items.length()
.
setStep
public void setStep(String step)
- Deprecated.
- Index increments every iteration by this value.
getIterationHelper
public ForEachTag.IterationHelper getIterationHelper()
- Deprecated.
Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.