event
|
Description |
The event 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:
Attribute |
Description |
Req'd? |
id |
Specifies the id of the bean to create. |
No |
name |
Specifies the name of the bean to use. |
No |
index |
Specifies the index into the current event list of the event bean to
find. |
No |
|
Properties |
The tag provides the following bean properties:
Property |
Description |
Access |
startTime |
Start time of the event; datetime. |
Get/Set |
endTime |
End time of the event; datetime. |
Get/Set |
description |
Long description of the event. |
Get/Set |
summary |
Short summary of the event. |
Get/Set |
location |
Location of the event. |
Get/Set |
allDay |
Whether the event lasts all day or not; boolean |
Get/Set |
recurrence |
Whether the event is part of a recurring series of events; boolean |
Get |
recurrencePattern
|
TBD
|
Get/Set
|
recurrenceModifier
|
TBD
|
Get/Set
|
modifier
|
Same as recurrenceModifier.
|
Get/Set
|
modificationTime |
Modification time of the event; datetime. |
Get |
userTheOrganizer
|
Indicates whether user is the organizer of this
event.
|
Get
|
reply
|
TBD
|
Get/Set
|
thisDate
|
TBD
|
Get/Set
|
attendees
|
TBD
|
Get/Set
|
removedAttendee
|
TBD
|
Set
|
|
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>
|