OpenNTF.org - XPages Extension Library
XPages Extension LibraryOpenDocument[/Projects/pmt.nsf/ProjectView?ReadForm&Query=]

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:


Subject
 XPages mobile app; how to avoid appending resetContent=false/true after pressing Done?
Categories
 
Posted by
 Kevin Lau on 04/01/2012 at 11:06 PM
Details

Hi, I've a mobile page developed with ExtLib mobile controls: http://hostname/mydb.nsf/MobileTest.xsp

The page consists of two appPages (i.e. a "mainPage" appPage & a "subPage" appPage).

Click on an entry in the mainPage will move to the subPage. Click on the "Done" button in the subPage will move back to the mainPage. After moving back to the mainPage, the resulting URL will automatically change to: http://hostname/mydb.nsf/MobileTest.xsp#mainPage&resetContent=false

When this happened, if I press the browser's refresh button on my iPhone, instead of showing the mainPage, a grey blank page will be displayed. This is not the desired result.

Then, if I manually remove &resetContent=false from the URL and press the refresh button again, the mainPage will be displayed properly.

So, is there any way to suppress appending &resetContent=false (or true) after clicking on a Done button?

Modification history
Entered 01-Apr-2012 23:06 by Kevin Lau. Last Modified <none> by Niklas Heidloff.


Anonymous