25 lines
715 B
JavaScript
25 lines
715 B
JavaScript
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.");
|
|
},
|
|
});
|
|
}
|
|
); |