Sapui5 Navigation Between Apps Definitions
I'm new in SAPUI5 development and I'd like to know how can I navigate through different apps definitions. In my case, I'm developing a mobile app that uses the sap.m.App and in som
Solution 1:
In the splitApp first you should instantiate the view as
oSplitApp.addDetailPage(your view);
then to navigate from the splitapp use, oSplitApp.toDetailPage(your view);
Solution 2:
It's easier than it appears.
I had the same problem and to make the SplitApp preview you just have to call the view like a normal XML view but Insert the TAG
Solution 3:
onInit: function() {
this.bus = sap.ui.component(sap.ui.core.Component.getOwnerIdFor(this.getView())).getEventBus();
},
doNavBack: function(event) {
this.bus.publish("nav", "to", {id : "Page1"});
},
Post a Comment for "Sapui5 Navigation Between Apps Definitions"