Previous     Contents     Index     Next     
iPlanet Portal Server: Mobile Access Pack Programmer's Guide



Chapter 3   Desktop Template Files


On the desktop and mobile device, content is displayed through a channel and the displayed content is specific to the channel and clientType. For each supported client, client specific template files describe the presentation and the layout of the channel.

This chapter discusses the HTML, cHTML, and WML template files used to display the pages that allow the user to configure the channel and the layout of the channel on their desktop page and mobile device home page.

These files are, by default, located in /etc/opt/SUNWips/desktop/MAP/iwtDesktop, /etc/opt/SUNWips/desktop/default/iwtDesktop/html, /etc/opt/SUNWips/desktop/default/iwtDesktop/wml/, /etc/opt/SUNWips/desktop/default/iwtDesktop/chtml directories.

The Mobile Access Pack Desktop providers use the file lookup mechanism to retrieve the client specific template files.



The Front Provider Template Files

The Front Provider presents the user's desktop page and navigation links to access the graphical user interface of the other desktop providers. The Front Provider invokes the content and application providers to display client specific content in the form of channels. On an HTML device, these channels appear as table cells. On a WML device, these channels appear as links to WML cards containing the contents of the channel. The following template files provide the front page for the user.


Desktop and Mobile Devices Home Page Template Files

This page typically contains the content of the user's selected channels. The following template files enable the presentation of these channels on the user's desktop and/or mobile device home page.`


HTML Template Files



The following template files are also used to display the desktop on a HTML client:

  • menubar.html - Provides the black menubar used in the user's desktop. This file replaces the menubar.html file used in the iPlanet Portal Server desktop. It uses the [tag:iwtDesktop-fontFace1] and [tag:productName] tags.

  • openClientsPage.js - Contains Javascript funtions to generate target URL for the Mobile Devices page. This is invoked to navigate to the Mobile Devices page.


WML Template Files


The following template files are used to display the user's home page on a wml client.

Nokia

The files discussed in this section are located in /etc/opt/SUNWips/desktop/default/iwtDesktop/wml/Nokia directory and are customized to support display of content on the Nokia 7110 phone.


cHTML Template Files



The following template files are used to display the user's home page on a cHTML client.



The Client Configuration Provider Template Files

The template files discussed in this section allow the user to configure the mobile devices that they will use to access the services. The user can not perform these tasks from the mobile device and must use their desktop to specify their mobile clientType. These template files provide support for configuring multiple clientTypes.


Select Mobile Devices


HTML Template Files




Add or Remove Mobile Devices


HTML Template Files





The Content Provider Template Files

The template files discussed in this section provides the page that allows the user to select the channels they wish to display on their desktop and on their mobile devices. These template files define the type of content to be displayed on all supported devices.


Select Channels For Display


HTML Template Files




WML Template Files


Nokia

The files discussed in this section are located in /etc/opt/SUNWips/desktop/default/iwtDesktop/wml/Nokia directory and are customized to support display of content on the Nokia 7110 phone.

  • contentProvider.template - Provides the page that presents the available content for Nokia and provides a list of available channels for Nokia. It uses the [tag:semiColonSelectedList] and [tag:content] tags.

  • optionWrapper.template - This file provides the template that wraps the channel into an option. It uses the [tag:provider] and [tag:title] tags.


cHTML Template Files





The Layout Provider Template Files

The template files discussed in this section provides the mobile devices edit content page for the user to configure and customize the layout order of the channels on the user's desktop and mobile devices. These template files define the display of content on all supported devices.


Organize Channel Layout on Devices


HTML Template Files



WML Template Files


  • layoutProvider.template - Provides the page that allows users to organize their content on their mobile devices. It uses the [tag:content] tag.

  • anchorWrapper.template - Provides the markup for the anchor tag. It uses the [tag:provider] and [tag:title] tags.

Nokia

The files discussed in this section are located in /etc/opt/SUNWips/desktop/default/iwtDesktop/wml/Nokia directory and are customized to support display of content on the Nokia 7110 phone.

  • layoutProvider.template - Provides the page on the Nokia mobile device to organize the layout of the content on Nokia. It uses the [tag:content] tag.

  • anchorWrapper.template - This file is used by the Nokia layoutProvider and uses the [tag:title] tag.


cHTML Template Files



  • accesskey.template - Provides the numeric entity for the numeric emoji characters used in cHTML. It uses the [tag:accesskey-no] tag.

  • entity1.template - entity9.template - Provides the entity for emoji character image "1" through "9" respectively. Emoji are special characters which appear in i-mode pages as small icons. In cHTML, emoji are written as an ampersand, a pound sign followed by 5 digits

  • layoutProvider.template - Provides the page that allows users to organize their content on their mobile devices. It uses the [tag:providerCount] and [tag:content] tags.

  • anchorWrapper.template - Provides the markup for the anchor tag. It uses the [tag:provider] and [tag:title] tags.



The Options Provider Template Files

The template files discussed in this section provides the mobile device edit options page for the user to configure the character set for their mobile devices. This can be performed from the user's desktop only.


Configure Character Set for Mobile Device


HTML Template Files




Previous     Contents     Index     Next     
Copyright © 2001 Sun Microsystems, Inc. All rights reserved.

Last Updated November 14, 2001