Skip to Content
avatar image
Former Member

Sap.ui.core.tutotial.navigation.06 data binding to EmployeeList.view.xml

Hi All,

In example:Sap.ui.core.tutotial.navigation.06 I want to know where the data is binded to EmployeeList.view.xml list.

https://sapui5.hana.ondemand.com/explored.html#/sample/sap.ui.core.tutorial.navigation.06/preview

Mockserver.js is triggered in Index.html by mockserver.init(); where data is from “Employees.json” and metadata from “metadata.xml” and Mock-Server gets starts oMockServer.start();

1)Where data binding is happening? in “Sap.ui.core.tutotial.navigation.06“ example

to List id="employeeList" of EmployeeList.view.xml after oMockServer.start();

<List id="employeeList" headerText="{i18n>ListOfAllEmployees}"

items="{/Employees}">

<items>

<StandardListItem title="{FirstName} {LastName}"

</items>

2)where data is stored in oMockServer instance

3)Where the data from oMockServer is binded to <List id="employeeList" headerText="{i18n>ListOfAllEmployees}"

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers