context |
|||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description |
Ensures that a SOCS 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:
context object. This is done
in the following fashion:
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.Note: This context tag represents the state of the session to the SOCS calendar service. This <socs:context> upgrades any existing <cal:context> in pageContext or session to <socs:context>. If the service type is SOCS then it should be upgraded as soon as possible. Otherwise it will create and use base tags and beans instead of SOCS specific (e:g: <cal:event> instead <socs:event>) |
||||||||||||||||||||||||||||||||||||||||||||
Tag Body |
JSP or Empty |
||||||||||||||||||||||||||||||||||||||||||||
Restrictions |
Since the calendar context is saved across requests the properties are also available for use across requests. This can be used only for SOCS, hence should be in sun-one directory only. It can not be used witout a prior <cal:context> in page or session. | ||||||||||||||||||||||||||||||||||||||||||||
Attributes |
The tag has the following attributes:
|
||||||||||||||||||||||||||||||||||||||||||||
Properties |
The tag provides access to the following properties:
|
||||||||||||||||||||||||||||||||||||||||||||
Example(s) |
<%-- calendar context --%> |