In XPages mobile app, how to avoid appending resetContent=false/true after pressing Done?

StackOverflow https://stackoverflow.com/questions/9940493

  •  28-05-2021
  •  | 
  •  

Question

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

Was it helpful?

Solution

I have found the cause of this and have put a fix into the ExtLib, it will be in the next release. I don't know when that will be at the minute but will update when I know

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top