TagLib: Calendar

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:

Attribute

Description

Type


Req'd?

id Specifies the id of the bean to create. String
No
name Specifies the name of the bean to use. String
No
frequency

RecurrencePattern.DAILY
RecurrencePattern.WEEKLY
RecurrencePattern.MONTHLY
RecurrencePattern.YEARLY
Yes
repeatOn

String
No
repeatUntil

Number or
DateTime
No
interval

int
No

Properties

The tag provides the following bean properties:

Property

Description

Access

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>