To enable complex binding syntax, the recommended way is to add the bootstrap configuration option compatVersion
with the value "edge"
. E.g. in index.html:
data-sap-ui-compatversion="edge"
This replaces the need for sap-ui-xx-bindingSyntax
since “edge” sets the binding syntax automatically to "complex"
. Adding bindingSyntax
makes only sense if the compatVersion
is lower than "1.28"
. Options with xx
should be avoided anyway because they’re experimental.
With the complex binding syntax enabled, we can make use of
sap.ui.model.CompositeBinding
which includes Expression Binding- as well as plain
"{path: '...'}"
syntax in XML UI definitions (views or fragments).