SAP CRM WebClient UI cross component跳转的一个具体例子

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到了。

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

原文地址:https://www.cnblogs.com/sap-jerry/p/12321764.html