1
如何在XML視圖中使用自定義控件?在XML視圖中使用自定義控件
我有一個名爲foo.bar.MyControl
的控件,它擴展了sap.m.Button
。
我想使用控制在我的XML視圖:
<core:View controllerName="foo.bar.controller.Root"
xmlns:commons="sap.ui.commons"
...>
<!-- what to type here ??? -->
</core:View>