pageIcon - Page Icon

Generates an icon for a page.

Category

basics

Syntax

pageIcon="pathname"

Usage

In Design mode, click the top tab under Properties and look for Page icon, or click All Properties and look for pageIcon under basics.

For an application resource, the icon path is relative to the application, for example, /abook.gif.

Examples

This page has a title and an icon:
<xp:view xmlns:xp="http://www.ibm.com/xsp/core" pageTitle="My Page"
	pageIcon="/abook.gif">
	<xp:this.data>
		<xp:dominoDocument var="document1" formName="form1"></xp:dominoDocument>
	</xp:this.data>
	<xp:inputText id="inputText1" value="#{document1.subject}"
		style="font-weight:bold">
	</xp:inputText>
	<xp:button value="submit" id="button1" style="font-weight:bold">
		<xp:eventHandler event="onclick" submit="true"
			refreshMode="complete" immediate="false" save="true">
		</xp:eventHandler>
	</xp:button>
</xp:view>