如何判断当前UI component是运行在IC还是non-IC环境下

87 阅读1分钟

Created by Jerry Wang, last modified on Mar 17, 2014

可以使用下面代码取得profile type,或者检查全局变量cl_bsp_context=>c_page_instances.
clipboard1
如果profile是C,说明当前UI component运行在non-IC 环境下:
clipboard2
clipboard3

下面的截图是在IC环境下运行得到的, profile type为B:
clipboard4
clipboard5