on 11-23-2016 4:19 PM
Hello,
I need help in navigation between XML views without using Routing and using manifest.json.
Have 5 views, component.js, manifest.json
View1, View2, View3, View4, View5.
Rootview have declared in manifest file as View1. Sequence of step need to perform from view1 -> View2 -> View3 -> View4 ->View5. Main requirement is navigate to different view without using the routing, reason behind URL should not be changed for complete scenario.
From index.html file loading the component and from there loading the manifest file point to root view.
In this scenario how to navigate between views?
Regards,
Satya
Hello BTC portal Team,
If you do not want the URL to be changed, use a target without a route.
Target be like,
"target1":{"viewName":"View1"}
In the event, may be a button which is used for navigation:
this.getRouter().getTargets().display("target1");
This will load the view "View1" as mentioned in the target without changing the URL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.