Note that there are some explanatory texts on larger screens.

plurals
  1. POCan a mobile app page determine what mobile app page called it and what was selected?
    text
    copied!<p>My issues tracking application has several categories (Client, AssignedTo, Module/Type, Priority, Status, Build, etc). There are several views that have two categorized columns (EG: Client and AssignedTo, Client and Module, AssignedTo and Priority, PPriority and Client,etc.</p> <p>I am implementing mobile pages using the XPages Mobile controls. I want to streamline things so the the selection of the view on the mobile home page drives to a page for selecting the appropriate first category which, in turn drives to a page for selecting the second category. What I am not figuring out, is once the selection of the first categories value is done, and the second category selection page is open, what the value selected before was? </p> <p>Here is my sample page so far:</p> <pre><code>&lt;xe:singlePageApp id="singlePageApp1" selectedPageName="mhome"&gt; &lt;xe:appPage id="appPage1" pageName="mhome"&gt; &lt;xe:djxmHeading id="djxmHeading1" label="Home"&gt; &lt;/xe:djxmHeading&gt; &lt;xe:djxmRoundRectList id="djxmRoundRectList1"&gt; &lt;xe:djxmLineItem id="djxmLineItem1" label="Issues by Client By Assigned To" moveTo="selectClient1"&gt; &lt;/xe:djxmLineItem&gt; &lt;xe:djxmLineItem id="djxmLineItem2" label="Issues by Client By Module" moveTo="selectClient2"&gt; &lt;/xe:djxmLineItem&gt; &lt;/xe:djxmRoundRectList&gt; &lt;/xe:appPage&gt; &lt;xe:appPage id="appPage2" pageName="selectClient1" resetContent="true"&gt; &lt;xe:djxmHeading id="djxmHeading2" label="Select Client" moveTo="mhome" back="back"&gt; &lt;/xe:djxmHeading&gt; &lt;xp:panel&gt; &lt;xp:this.data&gt; &lt;xp:dominoView var="view1" viewName="ByClientAssignedTo"&gt; &lt;/xp:dominoView&gt; &lt;/xp:this.data&gt; &lt;xe:djxmRoundRectList id="djxmRoundRectList2"&gt; &lt;xp:repeat id="repeat1" rows="30" value="#{javascript:view1.getColumnValues(0);}" var="client" indexVar="clidx"&gt; &lt;xe:djxmLineItem id="djxmLineItem3" label="#{javascript:client}" moveTo="selectAssignedTo1"&gt; &lt;/xe:djxmLineItem&gt; &lt;/xp:repeat&gt; &lt;/xe:djxmRoundRectList&gt; &lt;/xp:panel&gt; &lt;/xe:appPage&gt; &lt;xe:appPage id="appPage3" pageName="selectClient2" resetContent="true"&gt; &lt;xe:djxmHeading id="djxmHeading3" label="Select Client (2)" moveTo="mhome" back="back"&gt; &lt;/xe:djxmHeading&gt; &lt;xp:panel&gt; &lt;xp:this.data&gt; &lt;xp:dominoView var="view1" viewName="ByClientAssignedTo"&gt; &lt;/xp:dominoView&gt; &lt;/xp:this.data&gt; &lt;xe:djxmRoundRectList id="djxmRoundRectList3"&gt; &lt;xp:repeat id="repeat2" rows="30" value="#{javascript:view1.getColumnValues(0)}" var="client" indexVar="clidx"&gt; &lt;xe:djxmLineItem id="djxmLineItem4" label="#{javascript:client}" moveTo="selectType1"&gt; &lt;/xe:djxmLineItem&gt; &lt;/xp:repeat&gt; &lt;/xe:djxmRoundRectList&gt; &lt;/xp:panel&gt; &lt;/xe:appPage&gt; &lt;xe:appPage id="appPage4" pageName="selectAssignedTo1" resetContent="true"&gt; &lt;xe:djxmHeading id="djxmHeading4" back="back" label="Select Assigned To" moveTo="selectClient1"&gt; &lt;/xe:djxmHeading&gt; &lt;xp:text escape="true" id="computedField1"&gt; &lt;xp:this.value&gt;&lt;![CDATA[#{javascript:"What was selected on the previous page?"}]]&gt;&lt;/xp:this.value&gt; &lt;/xp:text&gt; &lt;/xe:appPage&gt; &lt;/xe:singlePageApp&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload