appPage - アプリケーションページ

1 つのアプリケーションページを組み込みます。一度に表示されるページは 1 つのみです。

カテゴリ

[モバイル]

構文

<xe:appPage attributes>content</xe:appPage>
表 1. 必須プロパティ
プロパティ 説明
id デフォルトは appPage1appPage2 などです。
pageName 初期ロードとナビゲーション用のページを識別します。id を上書きします。
resetContent true の場合、各表示のページコンテンツを再作成します。
preload XPage のロード時にモバイルページを強制的にロードします。
表 2. すべてのプロパティ
カテゴリ プロパティ
basics autoCreatebindingidkeepScrollPosloadedpageNamepreloadrenderedrendererTyperesetContent
styling disableThemethemeId
イベント onBeforeTransitionInonAfterTransitionInonBeforeTransitionOutonAfterTransitionOut

以下の例は、1 ページに見出しが設定されたモバイルアプリケーションを示しています。
<?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>