SAP UI5 myTask setBindingContext in SAP Fiori application

86 阅读1分钟

Created by Wang, Jerry on Aug 14, 2015

在TaskOverview page点了edit button之后:

context本身的构建非常简单:

关键操作是setBindingContext里的updateBindingContext和propagateProperties:

skipChildren = true. 如果需要处理children, 则遍历所有的aggregation(存储在this.mAggregations中)

此处还是要遍历所有aggregation:

form:

要获取更多Jerry的原创文章,请关注公众号"汪子熙":