WebClient UI framework - how tree proxy structure node is rendered

51 阅读1分钟

Sent: Tuesday, April 03, 2012 7:04 PM

我找了个CRM的例子,想照着把Tree Node Proxy加到Tree Structure node去,但是右键菜单里面没得insert的功能。

后来debug了workbench的代码,发现它runtime render的逻辑居然是:

他先把上面context node class的refresh source code全部拿出来,

然后扫描->GET_PROXY 最后拿到proxy class的名字。

我试着手动在SE80里面建proxy的class,然后把名字加到refresh 方法里,这样就work了。

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