Default titles are provided for each view and format template.
The view and template selected determines which title or titles
are displayed automatically.
Title Display
The default titles may be hidden or shown through attributes of the <cal:display> tag.
The attributes available include: |
•
showCalendarTitle
•
showCalendarSubTitle
•
showCalendarColumnTitle
•
showCalendarRowTitle
•
showContentColumnTitle
•
showContentRowTitle
|
|
•
showMonthTitle
•
showWeekTitle
•
showWeekdayTitle
•
showDayTitle
•
showMonthListTitle
•
showWeekListTitle
•
showWeekdayListTitle
•
showDayListTitle
|
|
A title from one view or template is not displayed in another template. For example when view='month'
the attribute showWeekTitle='true' is ignored.
Title Content
Title content is altered using the <cal:title> tag. Titles available include:
|
•
calendarTitle (Figure 1)
•
calendarSubTitle (Figure 1)
•
calendarColumnTitle (Figure 1)
•
calendarRowTitle (Figure 1)
•
monthTitle (Figure 1)
•
weekTitle (Figure 2)
•
weekdayTitle (Figure 3)
•
dayTitle (Figure 4)
|
|
•
monthListTitle (Figure 5)
•
weekListTitle (Figure 6)
•
weekdayListTitle (Figure 7)
•
dayListTitle (Figure 8)
•
contentColumnTitle (Figure 1)
•
contentRowTitle (Figure 1)
•
dayText (Figure 1)
•
calendarText
|
|
Title text displayed is dependent on the titleFormat attribute of the <cal:title> tag.
The attribute value may contain a combination of text strings and supported macros.
For example: the default titleFormat for monthTitle is:
<cal:title name='monthTitle' titleFormat='$MMM, $YYYY'/>
Macro Symbols
See advanced Topics for more information on Macro Symbols.
Title Examples
Figure 1:
<cal:calendar initialDate='5/31/2004'>
<cal:display
showCalendarColumnTitle="true" showCalendarRowTitle="true"
showCalendarTitle="true" showCalendarSubTitle="true"
showContentColumnTitle="true" showContentRowTitle="true"
showWeekTitle="true"
/>
<cal:title name="calendartitle" titleFormat="Calendar Title"/>
<cal:title name="calendarsubtitle" titleFormat="Calendar Subtitle"/>
<cal:title name="calendarcolumntitle" titleFormat="Calendar Column Title"/>
<cal:title name="calendarrowtitle" titleFormat="Calendar Row Title"/>
<cal:title name="monthtitle" titleFormat="Month Title"/>
<cal:title name="weektitle" titleFormat="Week Title"/>
<cal:title name="contentcolumntitle" titleFormat="ct"/>
<cal:title name="contentrowtitle" titleFormat="rt"/>
<cal:title name="daytext" titleFormat="tx"/>
</cal:calendar>
Figure 2:
<cal:calendar view='week' initialDate='5/31/2004'>
<cal:title name="weekTitle" titleFormat="Week Title"/>
</cal:calendar>
Figure 3:
<cal:calendar view='weekday' initialDate='5/31/2004'>
<cal:title name="weekdayTitle" titleFormat="Weekday Title"/>
</cal:calendar>
Figure 4:
<cal:calendar view='day' template='block' initialDate='5/31/2004'>
<cal:title name="dayTitle" titleFormat="Day Title"/>
</cal:calendar>
Figure 5:
<cal:calendar view='month' template='list' initialDate='5/31/2004'>
<cal:title name="monthListTitle" titleFormat="Month List Title"/>
</cal:calendar>
Figure 6:
<cal:calendar view='week' template='list' initialDate='5/31/2004'>
<cal:title name="weekListTitle" titleFormat="Week List Title"/>
</cal:calendar>
Figure 7:
<cal:calendar view='weekday' template='list' initialDate='5/31/2004'>
<cal:title name="weekdayListTitle" titleFormat="Weekday List Title"/>
</cal:calendar>
Figure 8:
<cal:calendar view='day' template='list' initialDate='5/31/2004'>
<cal:title name="dayListTitle" titleFormat="Day List Title"/>
</cal:calendar>
|
|
|