How would I realize the logoff function in Shell control having this API example: https://sapui5.hana.ondemand.com/sdk/docs/api/symbols/sap.ui.commons.ApplicationHeader.html#event:logoff
var oLogoff = new sap.ui.commons.ApplicationHeader();
... // within the Shell (function logout)
logout : function(oEvent) {
oLogoff.fireLogoff(); // this.fireLogoff() also not working
},
...
EDIT:oShell.fireLogout();
--> seems to be right, but this Ends up in an error "Not enough stack Memory" .. anybody any help?
I expect returning to a Login-page ... is this handled automatically?