Sun Java System Portal Server Mobile Access 7.1 Tag Library Reference

event

Description

This tag makes the specified event 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. The event properties are only valid from the start tag to the end tag.

Attributes

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

id

Specifies the id of the bean to create.

name

Specifies the name of the bean to use.

index

Specifies the index into the current event list of the event bean to find.

Properties

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

startTime

Start time of the event; datetime.

endTime

End time of the event; datetime.

description

Long description of the event.

summary

Short summary of the event.

location

Location of the event.

allDay

Whether the event lasts all day or not; boolean.

recurrence

Whether the event is part of a recurring series of events; boolean.

recurrencePattern

RecurrencePattern of this event.

recurrenceModifier

RecurrencePattern.THIS_INSTANCE and RecurrencePattern.THIS_AND_FUTURE

modifier

Same as recurrenceModifier for backward compatible.

thisDate

String used to store the date for temparory purpose.

reply

Get and set the rsvp status of this user as an attendee in this event.Only Sun-One supported valid values.

attendees

The user invites others to this event.

removedAttendee

Remove any existing invitees to this event.

userTheOrganizer

Boolean: Indicates whether user is the organizer of this event.

reminderBean

ReminderBean for this event.

Example(s)
<%-- create a 'new' event --%>
<cal:event id="new"/>

<%-- create a 'new' event with a summary --%>
<cal:event id="new">
	<cal:set property="summary" value="Event Summary"/>
</cal:event>

<%-- use a previously created event --%>
<cal:event name="now">
		Start   = <cal:get property="startTime"/>
		End     = <cal:get property="endTime"/>
		Summary = <cal:get property="summary"/>
</cal:event>

<%-- retrieve an event by id --%>
<cal:event id="event" eventid="$(eid)">
	<cal:set property="summary" value="new summary"/>
</cal:event>

<%-- current event in the event collection --%>
<cal:events iterate="true">
	<cal:event>
	...
	</cal:event>
</cal:events>