Hi,
Is there any way I can access the data in the previous view, without using controls.backbutton, but by pressing the f10 button.
Thanks
Priya
You could store it in the message center (
KONtx.messages), or you could do it like this:
CODE
hideView: function () {
this._listener.unsubscribeFrom(KONtx.application, "onActivateBackButton");
},
updateView: function() {
this._listener.subscribeTo(KONtx.application, "onActivateBackButton");
},
_listener: function (event) {
KONtx.application.previousView({foo: "bar"});
event.preventDefault();
}
This would then be accessible in the previous view in
this.backParams.
- Ben