HTML template files control the layout and source of the i-Planet Desktop. The templates are:
advancedTemplate.html--Controls the Advanced page in the end user's i-Planet Desktop. By default, it is set to allow an applet that downloads NetMail and installs it on a local client, but you can add other functionality of your choice.
feedbackTemplate.html--Controls the appearance and layout of the feedback form in the end user's i-Planet Desktop.
prefTemplate.html--Controls the appearance and layout of the Edit Preferences page in the end user's i-Planet Desktop.
userTemplate.html--Controls the Front Page in the end user's i-Planet Desktop.
You can edit these files to change the appearance, the information presented, and the links. You can add or remove various features according to your corporate policy or your security policy. You can also copy these files to build new templates.
Where not shown, the gateway prefix https://gw.sun.com/ is optional, since these pages and applications can be used from within the intranet.
The template= parameter to the i-Planet Desktop Servlet can be used to display any of the four predefined template files, or an arbitrary file using http://file-to-display. Tag-swapping is applied to all tags (if any) found in the source file. See below for a description of the tags:
http://apps.sun.com:8080/servlet/SNDesktop?template=user Displays /etc/opt/SUNWstnr/html_templates/userTemplate.html
http://apps.sun.com:8080/servlet/SNDesktop?template=user_login Displays same template file as above after recording user's login time (visible in admin console under User Preferences)
http://apps.sun.com:8080/servlet/SNDesktop?template=pref Displays /etc/opt/SUNWstnr/html_templates/prefTemplate.html
http://apps.sun.com:8080/servlet/SNDesktop?template=advanced Displays /etc/opt/SUNWstnr/html_templates/advancedTemplate.html.
http://apps.sun.com:8080/servlet/SNDesktop?template=feedback Displays /etc/opt/SUNWstnr/html_templates/feedbackTemplate.html
http://apps.sun.com:8080/servlet/SNLogout Ends user's session and displays /etc/opt/SUNWstnr/html_templates/logout.html
http://apps.sun.com:8080/servlet/SNDesktop?template=feedback Displays /etc/opt/SUNWstnr/html_templates/feedbackTemplate.html
http://apps.sun.com:8080/docs/usenglish/online_help/user_help_topics.html
http://apps.sun.com:8080/docs/usenglish/online_help/user_help_index.html
Generally, application links are targeted to new windows, so that the i-Planet Desktop page from which they are launched remains displayed.
http://apps.sun.com:8080/NetMail/netmail.html:Starts NetMail from a small browser window (400 x 150 in the delivered-userTemplate.html)
http://apps.sun.com:8080/servlet/com.sun.webaccess.mail.Mail? realm=SunNet: Starts NetMail Lite application
http://apps.sun.com:8080/servlet/com.sun.webaccess.calendar. Calendar?realm=SunNet: Starts Calendar client application
http://apps.sun.com:8080/servlet/SNDesktop?template=http://apps.sun.com/apps/main/netsurf/netsurf.html: Starts NetSurf. It is treated as a template file so that tag-swapping can be applied (starting URL to surf to is an administrable tag)
https://gw.sun.com/http://apps.sun.com:8080/servlet/SNDesktop?template=http://apps.sun.com:8080/apps/main/netlet/nf0.htmlStarts Netlet in a small window, and provide link to NetFile. It runs through SNDesktopServlet to apply tag-swapping to the window's display. In the delivered-userTemplate.html, the spawned window is 420 x 220.
This application must be started with the full i-Planet gateway URL prefix.
http://apps.sun.com:8080/cgi-bin/netfile/nf_htmlui.cgiStarts the NetFile Lite application
http://apps.sun.com:8080/cgi-bin/skey/skeylogin.cgiCreates the Generate S/Keys page
For access from the Internet to intranet sites that do not require tag-swapping, use URLs of this form:
https://gw.sun.com/http://internal_machine:internal_port/url