| 
contacts
 | 
   
| Description | This tag denotes a reference to the "contacts" collection, as constructed 
by an appropriate fetchtag. This 
tag will iterate upon its body until the collection is exhausted, or as constrained
by thestartandcountproperties.  Thestartandcountproperties should only be set when theiterateattribute is set to
"false". | 
   
| Tag Body | JSP | 
   
| Tag Parent | n/a | 
   
| Restrictions | Address Book fetch should have happened prior to the invocation of
this tag. | 
   
| Attributes | This tag has the following attributes: 
  
           
| Attribute | Description | Req'd? |  
  | id | Name of the contactscollection 
to create. | No |  
  | name | Name of the contactscollection to use. | No |  
  | iterate | A boolean that selects iteration.  Default is "false"; the collection
 will not iterate. | No |  
  | beanid | During iteration, specifies a name by which the current bean may be 
retrieved from the PageContext. | No 
 |  | 
   
| Properties | This tag provides the following bean properties: 
  
           
| Property | Description | Type | Access |  
  | index | Index of the current bean in the collection. | Integer 
 | Get |  
  | count | The number of iterations the collection should perform. | Integer 
 | Get/Set |  
  | start | The zero based index from which to begin iteration. | Integer 
 | Get/Set |  
  | end | The zero based index that denotes the item upon which iteration will 
terminate. | Integer 
 | Get |  
  | startOne | One-based start; suitable for presentation. | Integer 
 | Get |  
  | endOne | One-based end; suitable for presentation. | Integer 
 |  |  
  | size | The size of the collection being paged. | Integer 
 | Get |  
  | nextPage | Whether or not there are more items in the collection, beyond the current 
iterations. | Boolean 
 | Get |  
  | prevPage | Whether there are items in the collection preceding the current iterations. | Boolean 
 | Get |  | 
   
| Example(s) |           
        <%@ page errorPage="/jsp/errorpage.jsp" %><%@ taglib uri="/taglibs/ips_taglib_ab.jar" prefix="ab" %>
 
 <ab:context/>
 
 <ab:fetch collection="contacts" elementType="all" groupid="${gid}">
 
 Error in Looking up address book.
 
 </ab:fetch>
 
 Number of Address Book entries:
 
 <ab:contacts iterate="true">
 <ab:contact>
 Name: <ab:get property="cn"/>
 </ab:contact>
 </ab:contacts>
 |