OpenNTF.org - XPages Extension Library

My Links (Not logged in)
User Name Password
Hosted by Prominic.NET

   Project: XPages Extension Library (Managed by Philippe Riand, Niklas Heidloff, Dave Delay, Akihiro Kosugi, Maire Kehoe, Tony McGuckin, John Piermarini, Martin Donnelly, James Quill, Darin Egan, Padraic Edwards, Andrejus Chaliapinas, Lorcan McDonald, Simon McLoughlin, Paul Hannan)
Actions:


Response
SubjectSample code
Created 04/01/2012 11:10 PM by Kevin Lau.
Modified<none> by Niklas Heidloff/Germany/IBM.
Body


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

<xp:this.resources>

<xp:metaData name="Cache-Control" content="no-cache"></xp:metaData>

<xp:metaData name="Pragma" content="no-cache"></xp:metaData>

</xp:this.resources>

<xe:singlePageApp id="xpagesMobileApp" selectedPageName="mainPage">

<xe:appPage id="appPage1" pageName="mainPage" resetContent="true">

<xe:djxmLineItem id="lineItem1" moveTo="#subPage" transition="slide">

<xp:label value="Move to subPage" id="label1"></xp:label>

</xe:djxmLineItem>

</xe:appPage>

<xe:appPage id="appPage2" pageName="subPage" resetContent="true">

<xe:djxmHeading id="djxmHeading2" label="SubPage" back="Cancel" moveTo="#mainPage">

<xp:this.facets>

<xp:panel xp:key="actionFacet">

<xp:button value="Done" id="button1">

<xp:eventHandler event="onclick" submit="true">

<xp:this.action>

<xp:actionGroup>

<xe:moveTo direction="Right to Left" targetPage="mainPage" transitionType="slide">

</xe:moveTo>

</xp:actionGroup>

</xp:this.action>

</xp:eventHandler>

</xp:button>

</xp:panel>

</xp:this.facets>

</xe:djxmHeading>

</xe:appPage>

</xe:singlePageApp>

</xp:view>