Sun Java System Portal Server Mobile Access 7.1 Tag Library Reference

tasks

Description

This tag enumerates through the current task collection in the calendar context.

Tag Body

JSP

Restrictions

n/a

Attributes

The tag has the following attributes for which the Required value is “No”:

id

Name of the task collection to create.

name

Name of the task collection to use.

iterate

A boolean that selects iteration. Default is "false", the collection will not iterate.

beanid

During iteration, specifies a name by which the current bean may be retrieved from the PageContext.

Properties

The tag provides the following bean properties for which the Type value is “Integer” and “Boolean” and Access value is “Get/Set”:

index

Index of the current bean in the collection.

count

The number of iterations the collection should perform.

start

The zero based index from which to begin iteration.

end

The zero based index that denotes the item upon which iteration will terminate.

startOne

One-based start; suitable for presentation.

endOne

One-based end; suitable for presentation.

size

The size of the collection being paged.

nextPage

Whether or not there are more items in the collection, beyond the current iterations.

prevPage

Whether there are items in the collection preceding the current iterations.

Example(s)
<%-- enumerate through the task collection --%>
<cal:tasks>
	<cal:task>
	...
	</cal:tasks>
</cal:tasks>