-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I followed the guide to do a Dynamicly created grid...
Unfotunately I am not able to call my Composer java fonction for a "onDrop"
I've tried to use the following ...
http://books.zkoss.org/wiki/ZK_Developer's_Guide/ZK_in_Depth/Zscript,_java,_EL/event_handler
my cell.zul is :
<cell forEach="${arg.items}" rowspan="${each.rowspan}" colspan="${each.colspan}" draggable="${each.drag}" droppable="${each.droppable}" zclass="${each.zclass}" forward="window.onDrop()" >
<label value="${each.value}" />
</cell>
my main window in index.zul is called <window id="window" ...?
Any idea how this can be done ? :S
I found that that should be used with "use='theClass...'" which I do not use.. but for me I want to be able to call a java function of my ViewControllerClass(or object actually) which is set by
<window id=.. apply="com.myViewControllerClass">
....
Asked: 2011-09-07 13:22:07 +0800
Seen: 263 times
Last updated: Sep 07 '11