天天看点

SAP Fiori Elements应用里Back按钮的实现逻辑分析

One of my colleagues today asked me this question: Suppose this below is an application generated by Smart Template, and I would like to debug how the back button is implemented. Since the whole UI page is implemented by framework, I don’t know where to set breakpoint. How to proceed?

SAP Fiori Elements应用里Back按钮的实现逻辑分析
SAP Fiori Elements应用里Back按钮的实现逻辑分析
SAP Fiori Elements应用里Back按钮的实现逻辑分析
SAP Fiori Elements应用里Back按钮的实现逻辑分析

So the trick here is the keyword I am using to search in a tentative way.

first time search by _templateEventHandlers.onBack, no result

second time search by _templateEventHandlers, has result but not useful

third time search by onBack, done.

继续阅读