Sun Java System Portal Server Mobile Access 7.1 Tag Library Reference

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 for which the Required value is “No”:

name

Name of the event bean to store.

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 occurrences.

RecurrencePatten.THIS_AND_PRIOR

This and previous occurrences.

RecurrencePatten.THIS_AND_ALL

This and all occurrences.

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 occurrences --%>
<cal:event>
<cal:store modifier="<%= RecurrencePatten.THIS_INSTANCE %>" >
...store failed...
</cal:store>
</cal:event>