Ensures that a calendar context is present within the current pageContext. This tag must appear, at least once, before all other tags within the Calendar taglib. If config is not specified, then a search for a useable configuration name is performed in the following fashion: Attempt to retrieve the current calendar configuration name from the page context. If that succeeds, use it. If the retrieval fails... Attempt to retrieve the current calendar configuration name from the session. If that succeeds, store it on the page context and use it. If the retrieval fails... From the list of all SSOAdapter configuration names, try to find the first useable calendar configuration name. If that succeeds, store it in the session and page context and use it. If it is not possible to find a useable calendar configuration name, the context tag will fail. Once a configuration name has been determined, an attempt is made to acquire an appropriate calendar context object. This is done in the following fashion: Attempt to retrieve a calendar context from the page context, and verify it matches the configuration (using the previously acquired configuration name). If that succeeds, use it. If that fails... Attempt to retrieve a calendar context from the user's cache of mail contexts. If that succeeds, store it on the page context and use it. If the retrieval fails.. Create an SSOAdapter object using the previously acquired configuration name. Create a calendar context, and bind it with the SSOAdapter object. Store the calendar context in the context cache as well as the page context. In this way, if a calendar context has been previously referenced on a page, or within the session, then the config attribute may be omitted,and the most recently referenced context will be retrieved.
JSP or Empty.
Since the calendar context is saved across requests the properties are also available for use across requests.
This tag has the following attributes for which the Required value is “No”:
Specifies the "configuration" for which a calendar context should be retrieved.
Permits testing of service availability. Operates according to the following table:
This tag provides access to the following properties for which the Type values are “String”, “Integer”, and “Boolean” and the Access value is “Get”:
Returns errors status of failed command tags.
CAL_001: Invalid date format.
The size of the current event list.
Same as eventCount.
The size of the current task list.
The current calendar ID.
Indicates status of the events list.
Indicates status of the tasks list.
Indicates whether the user is the owner of the current calendar.
<%-- calendar context --%> <Cal:context/>