Tobago Components
Tag forEach


**** @deprecated. Will be removed in a future version ****

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.


Tag Information
Tag Classorg.apache.myfaces.tobago.taglib.component.ForEachTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
beginfalsetruejava.lang.StringIndex at which the iteration begins.
Type: java.lang.Integer
Default: 0
endfalsetruejava.lang.StringIndex at which the iteration stops. Defaults to items.length().
Type: java.lang.Integer
Default: items.lenght()
itemsfalsetruejava.lang.StringValueBindingExpression pointing to a java.util.List, java.util.Map or Object[] of items to iterate over.
Type: [java.util.List, java.util.Map, java.lang.Object[]]
stepfalsetruejava.lang.StringIndex increments every iteration by this value.
Type: java.lang.Integer
Default: 1
vartruetruejava.lang.StringName of a request-scope attribute under which the model data for for each subobject is accessible.
Type: java.lang.String

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.