SAP CRM WebClient UI data loss设计原理
Sent: Thursday, July 5, 2012 12:19 PM
Subject: 【Knowledge share】A follow up for data loss discussion
Actually the data loss can only happen when the cross component navigation is initiated. For example you change the product description and click other work center:
The implementation of data loss is:
Your click will trigger a cross component navigation. The navigation queue will be processed by UI framework:
The UI framework will delegate call to our class. Here we evaluate if data loss logic should be really triggered. If yes, register ourself as data loss handler.
In line 60, just set the data loss flag to true, which will be evaluated in step3.
UI framework will evaluate if data loss dialog should be displayed.
Here we can also found the registered data loss handler in step2.
Data loss dialog is displayed, clicking any button will trigger PROCESS_DATALOSS where Yes, No and Cancel button will be handled accordingly.
Since the navigation inside the same overview page will not trigger the method in step1, data loss logic will not be executed.
要獲取更多Jerry的原創(chuàng)文章,請(qǐng)關(guān)注公眾號(hào)"汪子熙":
總結(jié)
以上是生活随笔為你收集整理的SAP CRM WebClient UI data loss设计原理的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: iPhone 8 Plus与 iPhon
- 下一篇: SAP CRM Product cate