Sun Java System Portal Server Mobile Access 7.1 Tag Library Reference

recurrence

Description

This tag makes the specified recurrence bean properties available.

Tag Body

JSP

Restrictions

Only one of the id, name, or index attributes should be used at a time. If no attributes are specified then the current event in the parent collection is used.

Attributes

The tag has the following attributes

Properties

The tag provides the following bean properties. The id and name attributes have the Type value, “String” and Access value, “No”. The frequency attribute has Type values such as RecurrencePattern.DAILY, RecurrencePattern.WEEKLY, RecurrencePattern.MONTHLY, and RecurrencePattern.YEARLY and the Required value, Yes. The Type values for repeatOn, repeatUntil, and interval attributes are String, Number or DateTime, and int respectively and the Access value is “No”:

id

Specifies the id of the bean to create.

name

Specifies the name of the bean to use.

frequency

n/a

repeatOn

n/a

repeatUntil

n/a

interval

n/a

Properties

The tag provides the following bean properties:

TBD

Based on JCAPI "RecurrencePattern"

Example(s)
<%@ page import="com.sun.comclient.calendar.RecurrencePattern" %>
<cal:event id="new">
<cal:recurrence id="rec" frequency="RecurrencePattern.WEEKLY"
interval="1" repeatOn="SA,SU" repeatUntil="5" />
<cal:set id="rec" property="recurrencePattern" />
</cal:event>