TagLib: Calendar

reminder

Description

This tag makes the specified reminder bean properties available. Here duration is the time duration between the alarm needs to be set and the Start time of the Event(Due time of the Task).

Tag Body

JSP

Restrictions

The id attribute is not available as this is a Abstract Tag.

Attributes

The tag has the following attributes:

Attribute

Description

Type

Req'd?

name Specifies the name of the bean to use. String
No

Properties

The tag provides the following bean properties:

Property

Description

Type


Access

durationMin
0<durationMin<60. The minute part of the duration.
Integer
Set
durationHour
0<durationHour<24. The hour part of the duration.
Integer
Set
durationDay
The day part of the duration.
Integer
Set
absAlarmTime
DateTime
DateTime
Set
trigger
Gets the Trigger (DateTime object) as a String
String
Get
reminderNote
reminder Note
String
Get/Set
alarm
JCAPI VAlarm object

com.sun.comclient.calendar.VAlarm

Get
emailAttendee
The String form of Email Attendee list seperated by comma(,)
String
Get/Set

Example(s)

<socs:context/>
<cal:event id="new">
<cal:get id="rem" property="reminderBean" />
<socs:reminder name="rem">
<!--If alarm needs to be set at AbsoluteTime -->
  <cal:datetime id="alarmTime">
<cal:set property="absAlarmTime" id="alarmTime"/>

<!--If alarm needs to be set at 1 hour before event start -->
<cal:set property="durationHour" value="1" />
<cal:set property="emailAttendee" value="a@red.iplanet.com,b@sun.com" />
<cal:set property="reminderNote" value="Remind before 1 hr of the meeting" />
</socs:reminder>
</cal:event>