TagLib: Calendar

store

Description

This tag stores the specified event into the current calendar set. It can either store a new event or update an existing event. If an error occurs during processing, the tag body will be evaluated.

Tag Body

JSP

Restrictions

If the name attribute is not specified then a parent event tag is used to find the event to operate on. The modifier attribute should only be used to update an existing event.

Attributes

This tag has the following attributes:

Attribute

Description

Req'd?

name Name of the event bean to store. No
modifier Specifies how to update an existing event. Can accept a string
RecurrencePatten.THIS_INSTANCE This event instance only
RecurrencePatten.THIS_AND_FUTURE This and all future occurances
RecurrencePatten.THIS_AND_PRIOR This and previous occurances.
RecurrencePatten.THIS_AND_ALL This and all occurances
No

Properties

None

Example(s)

<%-- store an event by name --%>
<cal:event id="event1">
<cal:store name="event1">
...store failed...
</cal:store>

<%-- store an event and all future occurances--%>
<cal:event>
<cal:store modifier="<%= RecurrencePatten.THIS_INSTANCE %>" >
...store failed...
</cal:store>
</cal:event>