Skip to Content
0
Apr 03, 2015 at 08:12 AM

Data Binding Issue using XML view

18 Views

Hi...

I am facing a certain issue. Please have a looh.

requirement: data needs to be populated in a List suing a XML view

What Done : i have created App View and the model has been set in init function of the app controller.

onInit : function() {

sap.ui.getCore().setModel(

new sap.ui.model.json.JSONModel("model/app.json"));

i have created a xml view

<List headerText="Product Overview"

items="{

path: '{/SalesOrderCollection}'

}">

<StandardListItem title="{SoId}"

type="Navigation" press="handleProductListItemPress" />

</List>

Output : But in the List No data comes....

Regards

Dipankar