The XPages Mobile Controls provide an easy way to mobilize Notes/Domino data. However, if you have say 3 different views that help point a user to a specific record, the "Back" button you add to your appPage that allows users to view/edit the document can only be pointed back to a specific appPage. What's the best way to create a programmable Back button taking into account the view that the user came in via.
XPages Mobile Controls - how to program the Back button
1.4k Views Asked by Bruce Elgort At
1
There are 1 best solutions below
Related Questions in XPAGES
- Cannot get iNotes Calendar Data in Xpages
- Xpages hide panel / javascript
- How to refresh modal checkbox withing xpages column
- XPages: I need a full stacktrace
- validate edit box input text length on xPage
- Open mail database in new tab from XPiNC database
- How to get index of repeat control in CSJS
- SSJS or Java generate PDF
- Trying to delete the selected item in the XPages repeat control, but does not work
- How can I refresh the field in CSJS
- Is there any difference for XPages urls using action=openDocument and action=readDocument?
- Best way to handle multi-valued fields as a view/grid
- dominoDocument data source returning null on open on specific XPage
- Xpages display attachment in dialog box from another document
- Two-factor Authentication for IBM Domino XPages
Related Questions in MOBILE-CONTROLS
- How can you use an graphic buttons in the xe:tabBar
- Has anyone successfully implemented the dojox.mobile.carousel in XPages
- In XPages Mobile App, can you clear viewScope variables between page changes?
- In XPages mobile app, how to avoid appending resetContent=false/true after pressing Done?
- In XPages Mobile App / Mobile Control, how to make picklist
- Using an Outline with XPages Extension Library Mobile Controls
- cross platform input Unity with custom controller
- Rendering image on the mobile browser?
- Can we use Server.MapPath in Bitmap?
- XPages Mobile Controls - how to program the Back button
- What is the optimal icon size for XPages Mobile Control line items in views?
- Using the UP1 Mobile Controls how can you create a link to an external web site?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The back button on a mobile page can be computed dynamically just like any other XPage property.
Try this for example where you can set the scope to a mobile page you've navigated from to the current mobile page.
This is the same technique that is used in the Discussion XL and TeamRoom XL templates for their mobile apps.
To set the scope use the rendered property in the heading control for each 'view' mobile page so every time these pages are loaded or swapped to the scoped variable is set. Try the following link to get the full demo markup from OpenNTF XSnippets
computed back button demo markup on XSnippets