Skip to content

Instantly share code, notes, and snippets.

@cschuff
Last active December 1, 2017 11:38
Show Gist options
  • Save cschuff/4e508a2d3b741ab52cfe4a1c930ef526 to your computer and use it in GitHub Desktop.
Save cschuff/4e508a2d3b741ab52cfe4a1c930ef526 to your computer and use it in GitHub Desktop.
This gist shows how to set a binding contexts in SAPUI5 resp. OpenUI5 right from a XMLView.
<!-- see sap.ui.core.XMLTemplateProcessor -->
<Control binding="{
model: 'modelName',
path: '/context/path'
}">
<Control objectBindings="{
model: 'modelName',
path: '/context/path'
}">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment