May 2019
Beginner to intermediate
548 pages
12h 39m
English
This time there is some logic behind the screen—the user can press the button and then the values on the list should be displayed. The sample file is described as follows.
The first lines, similar to MainView.controller.js, are a simple definition of the controller.
sap.ui.define(["sap/ui/core/mvc/Controller"],function(Controller){ return Controller.extend("my.namespace.controllers.SearchView",{
Then, within the JSON object that extends the standard controller, the onInit function is defined. It is triggered right after the same function from the superclass. Here, due to the fact that View is bound to the non-existent "filteredFlights" model, the model is created and set on View. The model's sole property is ...
Read now
Unlock full access