o
Tag forEach


An iterator component that renders the specified set of components multiple times based on its parameters


Tag Information
Tag Classorg.openfaces.taglib.jsp.util.ForEachJspTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredBinding TypeELDefaultDescription
beginfalsejavax.el.ValueExpression
(must evaluate to int)
true0Iteration start index. Defaults to 0 if not specified.
bindingfalsejavax.el.ValueExpression
(must evaluate to org.openfaces.component.util.ForEach)
onlynullA value-binding expression that associates the ForEach with a backing bean property.
endfalsejavax.el.ValueExpression
(must evaluate to int)
true2147483647Iteration end index. Defaults to Integer.MAX_VALUE (2147483647) if not specified.
idfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
falsenullThe component identifier.
itemsfalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
onlynullAn value-binding expression that specifies the collection that iterate for. The items can be of any type adaptable to UIData: array, collection, javax.servlet.jsp.jstl.sql.Result, java.sql.ResultSet, Object (scalar data).
onblurfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the ForEach component loses focus.
onclickfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user clicks the left mouse button over the ForEach component.
oncontextmenufalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user presses right mouse button over the component (or performs the other context menu invocation action depending on the platform).
ondblclickfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user double-clicks the left mouse button over the ForEach component.
onfocusfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the ForEach component receives focus.
onkeydownfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user presses a key over the ForEach component.
onkeypressfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user presses and releases a key over the ForEach component.
onkeyupfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user releases a key over the ForEach component.
onmousedownfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user clicks over the ForEach component with either mouse button.
onmousemovefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer over the ForEach component.
onmouseoutfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer away from the ForEach component.
onmouseoverfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer onto the ForEach component.
onmouseupfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user releases the mouse button over the ForEach component.
renderedfalsejavax.el.ValueExpression
(must evaluate to boolean)
truefalseA flag that indicates whether or not the component is visible.
stepfalsejavax.el.ValueExpression
(must evaluate to int)
true1Iteration step index. Defaults to 1 if not specified.
stylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style of the entire ForEach component.
styleClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name of the entire ForEach component.
varfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullName of the request-scope variable under which the current iteration step object is available.
varStatusfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullName of the request-scope variable under which the current iteration status object (of type org.openfaces.component.util.IterationStatus) is available.
wrapperTagNamefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullAllows specifying the name of the tag that the iterated content should be wrapped into. By default no outer tag is rendered unless outer-tag-specific attributes are specified (id, style or styleClass), in which case the default outer tag is rendered even if no wrapperTagName is specified.

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.