appPage - Application Page

Contains one application page. Only one page displays at a time.

Category

Mobile

Syntax

<xe:appPage attributes>content</xe:appPage>
Table 1. Essential properties
Property Description
id Defaults to appPage1, appPage2, and so on.
pageName Identifies the page for initial loading and navigation. Overrides id.
resetContent Recreates page content on each display if true.
preload Forces the mobile page to load when the XPage loads.

Examples

This example demonstrates a mobile application with one page which has a heading.
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core" xmlns:xe="http://www.ibm.com/xsp/coreex">
	<xe:singlePageApp id="xpagesMobileApp"
		selectedPageName="homePage">
		<xe:appPage id="appPage1" pageName="homePage" >
			<xe:djxmHeading id="homePageHeading" label="Home"></xe:djxmHeading>
		</xe:appPage>
 	</xe:singlePageApp>
</xp:view>