I have encountered a problem while binding my OData service to a ListItem in SAPUI5. To demonstrate my problem, let's consider this simple OData service:
Task: {
ID: '100',
Name: 'TaskName'
Parent: {
ID: '10',
Name :'ParentName'
}
}
I tried binding my controller to the service, but i can only retrieve the "ID" value of the text parameter, if i try to do a relative binding (in this case : to retrieve the Parent's ID), it doesn't seem to work..
<List items="{/Task}">
<CustomListItem>
<Button text="ID" tooltip="{Parent/ID}"/>
</CustomListItem>
</List>