Previous Contents Index Next |
iPlanet Portal Server: Mobile Access Pack Programmer's Guide |
Chapter 7 Tag Swapper Tags
This chapter discusses the tag swapper tags used by the Mobile Access Pack server components. These tags are used in the template files to dynamically generate content. That is, the tags provide the method to insert dynamic data into static template files. The value of these tags are described in the following sections.For detailed information on usage of these tags in template files, see Chapter 3 "Desktop Template Files" and Chapter 4 "Content Provider Template Files."
The following tags are used in the iwtDesktop component template files (see Chapter 3 "Desktop Template Files" for more information).
The following tags are used in the iwtCalendarProvider template files (see "The Calendar Provider Template Files" for more information).
Table 7-2    iwtCalendarProvider Tags
Tag
Description
This tag is substituted with the Single Sign On URL to the user's calendar client
This tag is substituted with the checkbox for choosing day view in the edit calendar page
This tag is used for displaying calendar events or appointment data
This tag is used for displaying calendar events or appointment data
This tag is used for displaying calendar events or appointment data
This tag is used for displaying calendar events or appointment data
This tag is used for displaying calendar events or appointment data
This tag is used for displaying calendar events or appointment data
This tag is substituted with the event start time as `am' or `pm'
This tag is substituted with the event end time as `am' or `pm'
This tag is substituted with the description text of the event
This tag is substituted with the event marked as an all day event
This tag is substituted with the events with all of their information retrieved from display-dayView-event.template file
This tag is substituted with the checkbox for choosing week view in the edit calendar page
This tag is substituted with the event marked as an all day event
This tag is substituted with the event's start time as am or pm
This tag is substituted with the event's end time as am or pm
[tag:calendar-display-weekView-dayOfWeek0] - [tag:calendar-display-weekView-dayOfWeek6]
This tag is substituted with the day of the week where 0 refers to Monday and so forth
[tag:calendar-display-weekView-day0] - [tag:calendar-display-weekView-day6]
This tag is substituted with the date in the week where day0 refers to 1 and so forth
[tag:calendar-display-weekView-eventList0] - [tag:calendar-display-weekView-eventList5]
This tag is substituted with the events scheduled for the corresponding date (see [tag:calendar-display-weekView-dayOfWeek0] - [tag:calendar-display-weekView-dayOfWeek6]. It gets its value from display-weekView-event.template file
This tag is substituted with the input box to enter port number for calendar server in the edit calendar page (see )
This tag is substituted with the input box to enter port number for calendar server in the edit calendar page (see )
This tag is substituted with the input box in the edit calendar page to enter user name required for calendar server (see )
This tag is substituted with the input box in the edit calendar page to enter user password required for calendar server (see )
The tags discussed in Table 7-3 are used in the iwtMailProvider template files (see "The Mail Provider Template Files" for more information).
The Address Book Provider Tags
The tags discussed in Table 7-4 are used in the iwtAddressBookProvider template files (see "The Address Book Provider Template Files" for more information).
Table 7-4    iwtAddressBookProvider Tags
Tag
Description
This tag is substitued with the actual URL to the address book client
This tag gets all the address book entries for the user in the format specified in display-entry.template file
This tag is substitued with the email address of the user as a link. If an email address is not specified, then the message 'Email not specified' is displayed
This tag is substitued with the number of address book entries for the user
This tag is substitued with the address book summary for the user. The content for this is retrieved from display-summary.template file (see page 50).
This tag is substitued with the address book entries for the user. The content for this is retrieved from display-entries.template file (see page 51)
This tag is substitued with the URL to the address book application on the mobile device. The contents for this come from display-clientURL.template file (see page 50)
This tag indicates whether to display address book entries in the address book channel, or to just display the summary. Its value is retrieved from the 'Display entries' checkbox in the edit address book page (see )
This tag indicates the number of address book entries the user has selected to be displayed on the address book channel. Its value comes from the 'Number of entries' input box in the edit address book page (see )
This tag indicates whether sorting is to be done on the last name for the address book entries to be displayed. Its value comes from the 'Sort By' list in the edit address book page (see )
This tag indicates whether sorting is to be done on the first name for the address book entries to be displayed. Its value comes from the 'Sort By' list in the edit address book page (see )
This tag indicates that no specific choice is made for sorting the address book entries by
This tag indicates whether ascending sorting order has been selected for the display of address book entries. Its value comes from the 'Sort Order' list in the edit address book page (see )
This tag indicates whether the decending sorting order has been selected for the display of address book entries. Its value comes from the 'Sort Order' list in the edit address book page (see )
This tag is substituted with the user id of the user whose address book is to be retrieved. This is used to authenticate the user against the IMAP server before the address book for the user can be retrieved
This tag is substituted with the password corresponding to the IMAP user id. It is used to authenticate the user against the IMAP server before the address book for the user can be retrieved
The Wireless Personal Note Provider Tags
The tags discussed in Table 7-5 are used only in the iwtPersonalNoteProvider template files (see "The Wireless Personal Notes Provider Template Files" for more information).
Table 7-5    iwtPersonalNoteProvider Tags
Tag
Description
This tag contains an attribute that tracks the number of personal notes that are editable. This value is used by the WirelessPersonalNoteProvider.processEdit() method.
This tag is substituted with the editable personal note textboxes.
This tag is substituted with all the evaluated content from the table data wrapper logic (see page 54). This includes the personal note content which typically contains rows of data.
This tag is substituted with the background color. This value is retrieved from both the darkColor.template and lightColor.template files and this value alternates between the darkColor and the lightColor beginning with the lightColor.
This tag is substituted with the text color retrieved from the textColor.template file.
The tags discussed in Table 7-6 are used in the iwtPostItProvider template files (see "The PostIt Provider Template Files" for more information).
Table 7-6    PostIt Note Provider Tags
Tag
Description
This tag is substituted with the provider or channel content.
The Wireless URLScraper Provider Tags
The tags discussed in Table 7-7 are used in the iwtwirelssURLScraperProvider template files for WML clients (see "The Wireless URL Scraper Provider Template Files" for more information).
Table 7-7    iwtWirelessURL Scraper Tags
Tag
Description
The User Information Provider Tags
The tags discussed in Table 3-8 are used only in the iwtUserInfoProvider template files (see "The UserInfo Provider Template Files" for more information).
The tag swapper tags discussed in Table 7-9 are used in the iwtBookmarkProvider template files (see "The Wireless Bookmarks Provider Template Files" for more information).
Previous Contents Index Next
Copyright © 2001 Sun Microsystems, Inc. All rights reserved.
Last Updated November 14, 2001