SAP UI5 myTask setBindingContext in SAP Fiori application

  • 2019 年 10 月 30 日
  • 筆記

版權聲明:本文為部落客原創文章,遵循 CC 4.0 BY-SA 版權協議,轉載請附上原文出處鏈接和本聲明。

本文鏈接:https://jerry.blog.csdn.net/article/details/102778252

Created by Wang, Jerry on Aug 14, 2015

在TaskOverview page點了edit button之後:

context本身的構建非常簡單:

關鍵操作是setBindingContext里的updateBindingContext和propagateProperties:

skipChildren = true. 如果需要處理children, 則遍歷所有的aggregation(存儲在this.mAggregations中)

此處還是要遍歷所有aggregation:

form: