This tag denotes a reference to the groupmembers collection, as constructed by an appropriate fetch tag. This tag will iterate upon its body until the collection is exhausted, or as constrained by the start and count properties. The start and count properties should only be set when the iterate attribute is set to "false".
JSP
n/a
Address Book fetch should have happened prior to the invocation of this tag.
The tag has the following attributes for which the Required value is “No”:
Name of the groupmembers collection to create.
Name of the groupmembers collection to use.
A boolean that selects iteration. Default is "false", the collection will not iterate.
During iteration, specifies a name by which the current bean may be retrieved from the PageContext.
The tag provides the following bean properties for which the Type value is “Integer” and the Access value is “Get/Set”:
Index of the current bean in the collection.
The number of iterations the collection should perform.
The zero-based index from which to begin iteration.
The zero-based index that denotes the item upon which iteration will terminate.
One-based start; suitable for presentation.
One-based end; suitable for presentation.
The size of the collection being paged.
Whether or not there are more items in the collection, beyond the current iterations.
Whether there are items in the collection preceding the current iterations.
<%@ page errorPage="/jsp/errorpage.jsp" %> <%@ taglib uri="/taglibs/ips_taglib_ab.jar" prefix="ab" %> <ab:context/> <ab:fetch collection="groupmembers" elementType="all" groupid="$(gid)"> Error in Looking up address book. </ab:fetch> Number of Address Book entries: <ab:groupmembers iterate="true"> <ab:groupmember> Name: <ab:get property="cn"/> </ab:groupmember> </ab:groupmembers>