delete
|
Description |
This tag deletes the specified event from the current
calendar set. 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. |
Attributes |
The tag has the following attributes:
Attribute |
Description |
Req'd? |
name |
Name of the event bean to delete. |
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) |
<%-- delete an event by name --%> <cal:event id="event1"/> <cal:delete name="event1"> ...delete failed... </cal:delete>
<%-- delete an event and all future occurances--%> <cal:event> <cal:delete modifier="<%= RecurrencePatten.THIS_INSTANCE %>"> ...delete failed... </cal:delete> </cal:event>
|