onOpen event for Treeitem

30 views
Skip to first unread message

alan...@gmail.com

unread,
Mar 5, 2013, 6:03:38 AM3/5/13
to zk-ui...@googlegroups.com
Hi, firstly thanks for the great plugin.

I am trying to handle the onOpen event for a treeitem, I can capture oClick, onFocus, for the Tree using the Listen annotation, but I cannot capture the Treeitem, which is rendered in a template, in fact it only seems to detect the context attribute, it ignores my item.name, instead using toString on the domain object to render the label....any ideas?


thanks ,
Al.

alan...@gmail.com

unread,
Mar 5, 2013, 7:34:51 PM3/5/13
to zk-ui...@googlegroups.com, alan...@gmail.com
I've been able to get some of this working: without templates. If I use a manually constructed tree I can catch the onOpen event using

@Listen("onOpen=*") annotation & filter. But I cannot repeat this with a template driven tree.


Reply all
Reply to author
Forward
0 new messages