on 07-14-2015 12:22 AM
Hi
I am working on a Fiori full screen application with a master view and details view. The navigation is like this: Launchpad->master view->details view.
In the details view controller, I'm using this._oRouter.navTo("main"); to return to master view and it works fine. (using window.history.go(-1); takes me back to the Launchpad which is not the desirable outcome).
The problem I'm having is with the master view controller. Here I'm using window.history.go(-1); and when I try to go back after I get back from the details view, I'm going back to details view instead of Launchpad. Using the back button becomes an endless loop only going back and forth between master and details view. What can I do to fix this?
Thanks
Problem solved:
The issue was with the call to details page. I set page replace to false and ended up using window.history.go(-1); in both pages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.