天天看點

SAP CRM WebClient UI cross component跳轉的一個具體例子Sent: Thursday, April 18, 2013 3:59 PM

Sent: Thursday, April 18, 2013 3:59 PM

Subject: 為什麼design time時候看到的是ICQR,點了service之後看到02QR的代碼被call到

這是cross component navigation在起作用。

Result list是model在ICQR裡面,如果點service,會navigate到service detail page,這個service detail page是做在PRD02OV上,是以這個navigation是cross component navigation:

Cross component navigation又叫object based navigation:

Line 26行根據目前選中的product type動态determine出應該進material page,還是service,或者warrenty。。。。

Navigation object在35行生成。

Deterimine了target ui之後,架構準備開始render target UI:

這裡能看到02QR已經成功determine出來了

這樣,02QR的do_init_context就會被架構call到了。

本文來自雲栖社群合作夥伴“汪子熙”,了解相關資訊可以關注微信公衆号"汪子熙"。

繼續閱讀