first commit
This commit is contained in:
25
webapp/controller/Main.controller.js
Normal file
25
webapp/controller/Main.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.Main", {
|
||||
onInit: function () {
|
||||
// var oRootPath = jQuery.sap.getModulePath("mvcapp00124");
|
||||
|
||||
// var oModel = new sap.ui.model.json.JSONModel(
|
||||
// oRootPath + "/model/flights.json"
|
||||
// );
|
||||
// this.getView().setModel(oModel);
|
||||
},
|
||||
|
||||
handleLineItemPress: function () {
|
||||
alert("Line item passed.");
|
||||
},
|
||||
});
|
||||
}
|
||||
);
|
Reference in New Issue
Block a user