I am currently trying to implement the Model-View-Controller in my SAPUI5 / Fiori Project.
I managed to create an Instance of the Controller with:
This does not work for the Model (
sap.ui.core.mvc does not contain a Model attribute).
Not I am searching for a solution, so I can call functions of the Model from the Controller, to get my data.
I already tried this code:
oObjModel = new sap.ui.mode.Model(), using this I can not call functions from my Model.