Skip to main content link. Accesskey S
  • Help
  • HCL Logo
  • HCL Notes and Domino Application Development wiki
  • THIS WIKI IS READ-ONLY. Individual names altered for privacy purposes.
  • HCL Forums and Blogs
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • API Documentation
Search
Community Articles > 日本語 - Japanese > XPages Extension Library Mobile Controls - 「Single Page Application」
  • Share Show Menu▼
  • Subscribe Show Menu▼

Recent articles by this author

ビデオで見る XPages Social Enabler

ノーツコンソーシアム 2012 年度ノーツソーシャルアプリ開発技術研究会 外部 SNS 連携調査結果報告の一部です。 OAuth Token Store とサンプルデータベースの設定および使用方法。 Dropbox と Twitter 連携についての詳細

ビデオで見る XPages Extension Library のインストール方法

ノーツコンソーシアム 2012 年度ノーツソーシャルアプリ開発技術研究会 外部 SNS 連携調査結果報告の一部です。

XPages Extension Library Mobile Controls - 「Tab Bar Button」

この記事では、XPages Extension Library Mobile Controls から Tab Bar Button コントロールを解説します。

XPages Extension Library Mobile Controls - 「Tab Bar」

この記事では、XPages Extension Library Mobile Controls から Tab Bar コントロールを解説します。

XPages Extension Library Mobile Controls - 「Mobile Switch」

この記事では、XPages Extension Library Mobile Controls から Mobile Switch コントロールを解説します。
Community articleXPages Extension Library Mobile Controls - 「Single Page Application」
Added by ~Judy Desluader | Edited by ~Judy Desluader on October 4, 2012 | Version 5
  • Actions Show Menu▼
expanded Abstract
collapsed Abstract
この記事では、XPages Extension Library Mobile Controls から SIngle Page Application コントロールを解説します。
Tags: Extension Library, Extension Library controls, XPages Extension Library Japan Project
ShowTable of Contents
HideTable of Contents
  • 1 Single Page Application コントロールの概説
  • 2 生成されるタグ
  • 3 Single Page Application のプロパティ

Single Page Application コントロールの概説

このコントロールは、モバイル Web ページ全体のコンテナです。XPage でモバイルページを作成する際に、ひとつの XPage に必ずこのコンテナが必要です。

生成されるタグ

このコントールのタグは xe:singlePageApp です。

<?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">

	

	</xe:singlePageApp>

	</xp:view>

	

ひとつの XPage に最低でも一つ、そして複数のモバイルページを作成することができます。

以下の例は、XPage に 3 つのモバイルページをもつ例です。

	<xe:singlePageApp id="singlePageApp1" selectedPageName="appPage1">

	        <xe:appPage id="appPage1"></xe:appPage>

	        <xe:appPage id="appPage2"></xe:appPage>

	        <xe:appPage id="appPage3"></xe:appPage>

	</xe:singlePageApp>

	

この状態でブラウザからプリビューし、ページのソースを確認すると、モバイルアプリケーションに必要な viewport の設定や Dojo Mobile のリソースが取り込まれた状態でブラウザにレンダリングされているのが確認できます。

Single Page Application のプロパティ

このコントロールの selectPageName で最初に表示させるモバイルページの id を指定しなければなりません。

カテゴリ プロパティ 説明
基本 selectedPageName 最初に表示させるモバイルページの指定(必須)

 


  • Actions Show Menu▼


expanded Attachments (0)
collapsed Attachments (0)
Edit the article to add or modify attachments.
expanded Versions (5)
collapsed Versions (5)
Version Comparison     
VersionDateChanged by              Summary of changes
This version (5)Oct 4, 2012, 5:22:21 AM~Judy Desluader  
4Oct 4, 2012, 5:04:51 AM~Rebecca Fezresaster  
3Oct 4, 2012, 4:44:40 AM~Rebecca Fezresaster  
2Oct 4, 2012, 4:29:14 AM~Rebecca Fezresaster  
1Oct 4, 2012, 4:28:21 AM~Rebecca Fezresaster  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedAbout
  • HCL Software
  • HCL Digital Solutions community
  • HCL Software support
  • BlogsDigital Solutions blog
  • Community LinkHCL Software forums and blogs
  • About HCL
  • Privacy
  • Accessibility