on 07-30-2014 2:50 PM
I'm having a problem with the "Back" button.
It's there because on each page I've activated the "showNavButton" option.But the thing is ... it doesn't work, nothing happens.
I didn't modify the default function "backBtnTap: function() ":
backBtnTap: function() {
var bus = sap.ui.getCore().getEventBus();
bus.publish("nav", "back");
},
Anyone has a clue?
Thanks,
Marius.
Hi Marius,
It works in my sample project, can you check the following?
1. Did you define the backBtnTap in the JS controller of the particular view?
2. Did you define the event for NavButtonTab in this particular view as backBtnTap?
Thanks.
Pavel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you try the below sample code :
handleNavButtonPress : function (evt) {
this.nav.back(“Master”);
}
Midhun VP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
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.