Skip to Content

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">
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 20, 2015 at 10:51 PM

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

    1. <HBox id="TopBox" displayInline="true" binding="{path:'Resource'}">
    Add comment
    10|10000 characters needed characters exceeded