Each object in a calendar is associated with one or more identifiers.
When an object is associated with multiple identifiers, only one is active
and it is based on the current context of the object. The vast majority
of calendar objects are associated with a single identifier.
Stylesheet Usage
By default stylesheet usage is disabled and
internal display definitions are utilized.
Stylesheet usage is activated through the <cal:font> tag:
<cal:font name="defaults" style="external" >.
Each identifier is associated with a single stylesheet class.
The default stylesheet class for each identifier may be modified
as your needs dictate. The default stylesheet classname is altered through
the <cal:font> tag using the className attribute.
For example: <cal:font name='calendarTitle' className='H1'\>.
Object Identifiers
Each object identifier is associated with a default stylesheet classname.
The object or object context identifiers and default classnames include:
|
|
•
calendar - CALENDAR
•
calendarTitle - CALENDARTITLE
•
subTitle - CALENDARSUBTITLE
•
columnTitle - CALENDARCOLUMNTITLE
•
rowTitle - CALENDARROWTITLE
•
monthTitle - CALENDARCONTENTTITLE
•
weekTitle - CALENDARCONTENTTITLE
•
weekdayTitle - CALENDARCONTENTTITLE
•
dayTitle - CALENDARCONTENTTITLE
•
contentColumnTitle - CONTENTCOLUMNTITLE
•
contentRowTitle - CONTENTROWTITLE
|
|
•
monthListTitle - CALENDARCONTENTTITLE
•
weekListTitle - CALENDARCONTENTTITLE
•
weekdayListTitle - CALENDARCONTENTTITLE
•
dayListTitle - CALENDARCONTENTTITLE
•
detail - CALENDARDETAIL
•
detailHighlight - CALENDARDETAILHIGHLIGHT
•
detailSelect - CALENDARDETAILSELECT
•
extradays - CALENDAREXTRADAYS
•
extradaysSelect - CALENDAREXTRADAYSSELECT
•
scroll - CALENDARSCROLL
•
text - CALENDARDETAIL
|
|
Identifiers based on context include:
detail, detailHighlight, detailSelect, extradays, and extradaysSelect.
Each identifies the context of a date.
In a specific view, a date may be displayed beyond the view context.
This is best explained through an example:
in the month view days may be displayed prior to the
first day of the month and in the current week, like when the first day of the
month falls on a Wednesday. Days prior to or following the month
are in the extradays context and days in the month are in the detail context.
The current (initialDate) is in the detailHighlight context.
When detail days may be selected they are in the detailSelect context and
when extradays may be selected they are in the extradaysSelect context.
|
|