nxu
Tag repeat


Facelet tag handler that performs an iteration.

This handler is very close to the facelets c:forEach tag handler. It holds additional configuration to handle ajax re-rendering of lists, avoiding potential JSF duplicate id issues when the iteration list changes.


Example:
<nxu:repeat items="#{layoutNames}" var="layout"> <nxl:layout name="#{layout}" value="#{document}" /> </nxu:repeat>


Tag Information
Tag ClassNone
TagExtraInfo ClassNone
Body ContentNone
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
varfalsefalsejava.lang.StringName of the variable representing each iteration item. Must be a string.
itemsfalsefalsejava.lang.StringValue binding representing the object to iterate on. Available since 5.7.
itemsIdfalsefalsejava.lang.StringIdentifier for the the iteration loop: if this id changes on ajax re-render, JSF subcomponents will be re-created. When this attribute is not filled, the string representation of the iteration list is used instead. Available since 5.7.
beginfalsefalsejava.lang.StringElement to start with (0 = first item, 1 = second item, ...). Available since 5.7.
endfalsefalsejava.lang.StringElement to end with (0 = first item, 1 = second item, ...). Available since 5.7.
stepfalsefalsejava.lang.StringIteration will only process every step items of the collection, starting with the first one. Available since 5.7.
indexfalsefalsejava.lang.StringName of the variable representing the iteration index. Must be a string.
varStatusfalsefalsejava.lang.StringName of the exported scoped variable for the status of the iteration. Object exported is of type javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested visibility. Available since 5.7.
valuefalsefalsejava.lang.StringValue binding representing the object to iterate on. Deprecated since 5.7, use "items" attribute instead.

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.