| 
presetmsgs
 | 
 
| Description | This tag provides access to the collection of preset 
messages. The tag body will be evaluated once for each item in the collection,
unless constrained by the startandcountproperties.  Thestartandcountproperties should only be set when theiterateattribute is set to "false". | 
 
| Tag Body | JSP | 
 
| Restrictions | Use the presetmsg tag to access the
current preset message item in the collection iteration. | 
 
| Attributes | The tag has the following attributes: 
 
          
| Attribute | Description | Req'd? |  
 | id | Name of the presetmsgscollection to create. | No |  
 | name | Name of the presetmsgscollection 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 | The 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) |  
        <%-- list all the preset messages --%><mail:presetmsgs iterate="true">
 <mail:presetmsg>
 preset msg text = <mail:get property="msg"/>
 </mail:presetmsg>
 </mail:presetmsgs>
 
 
 |