first commit
This commit is contained in:
25
webapp/controller/Enter.controller.js
Normal file
25
webapp/controller/Enter.controller.js
Normal file
@ -0,0 +1,25 @@
|
||||
sap.ui.define(
|
||||
["mvcapp00124/controller/BaseController"],
|
||||
/**
|
||||
* @param {typeof sap.ui.core.mvc.Controller} Controller
|
||||
*/
|
||||
|
||||
function (Controller) {
|
||||
"use strict";
|
||||
|
||||
return Controller.extend("mvcapp00124.controller.Enter", {
|
||||
/**
|
||||
* @override
|
||||
*/
|
||||
onInit: function () { },
|
||||
|
||||
onPressNavTo: function(oEvent) {
|
||||
this.getRouter().navTo("flightList", {}, {}, false);
|
||||
},
|
||||
|
||||
onPressTargets: function(oEvent) {
|
||||
this.getRouter().getTargets().display("flightList");
|
||||
}
|
||||
});
|
||||
}
|
||||
);
|
Reference in New Issue
Block a user