Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How can I do an Object Binding directly in a XMLView?

In the Javascript of a view controller I can write

this.getView().byId("TopBox").bindElement("Resource");

How can I do this directly in the XMLView? Ie eg at

<HBox id="TopBox" displayInline="true">

Former Member
replied

How to do element binding in xml fragment in UI... | SCN

  1. <HBox id="TopBox" displayInline="true" binding="{path:'Resource'}"> 
1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question