SAP CRM產品主數據頁面的ON_NEW_FOCUS方法設計

Created by Jerry Wang on Oct 06, 2016

In product overview page you see lots of context node with method ON_NEW_FOCUS implemented:

The reason is: as long as the current focus root object in current collection wrapper changes, the corresponding dependent object should be refreshed as well. This synchronization is done by event handler: ON_NEW_FOCUS.

For example, once the cancel button is pressed, the focus change event is raised below:

and finally the event handler implemented in dependent context node will react on this focus_change event and refresh related dependent node accordingly.

要獲取更多Jerry的原創文章,請關注公衆號"汪子熙":

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章