-
New Feature
-
Resolution: Fixed
-
Normal
-
None
-
None
<window title="test of long operation" border="normal">
<zscript> <![CDATA[
import org.zkoss.zk.ui.event.*;
EventQueue eq = EventQueues.lookup("longop");
String result = "";
eq.subscribe(new EventListener() {
public void onEvent(Event evt)
}, new EventListener() { //callback
public void onEvent(Event evt)
});
]]> </zscript>
<button label="async long op" onClick='eq.publish(new Event("whatever"));'/>
<label id="lb"/>
</window>