-
FEATURED COMPONENTS
First time here? Check out the FAQ!
如题:如何在一个监听事件中调用ZUL页面中的方法
treerow.addEventListener("onDrop", new EventListener() {
public void onEvent(Event event) throws Exception {
}
});
<zscript><![CDATA[
void move(Component dragged) {
if (self instanceof Treerow) {
Boolean bool = self.parent.parent.insertBefore(dragged.parent,
self.parent);
if (!bool) {
self.parent.parent.insertBefore(self.parent, dragged.parent);
}
}
}
]]></zscript>
把ZUL这段代码放到后台去不行么?
Asked: 2009-11-10 20:24:48 +0800
Seen: 318 times
Last updated: Nov 11 '09