-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
Hi,
I am trying to implement the below example
books.zkoss.org/wiki/ZKDeveloper'sReference/UIPatterns/LongOperations/ UseEchoEvents
in this example there is "doLongOperation(); //take long to execute" how can i implement this.
2 | No.2 Revision |
Hi,
I am trying to implement the below example
books.zkoss.org/wiki/ZKDeveloper'sReference/UIPatterns/LongOperations/ UseEchoEvents
in this example there is "doLongOperation(); //take long to execute"
how execute".
How can i implement this.this?
3 | No.3 Revision |
Hi,
I am trying to implement the below example
books.zkoss.org/wiki/ZKDeveloper'sReference/UIPatterns/LongOperations/ UseEchoEvents
in this example there is "doLongOperation(); //take long to execute". How can i implement this?
The Code is as below:
<window id="w" width="200px" title="Test echoEvent" border="normal">
<attribute name="onLater">
doLongOperation(); //take long to execute
Clients.clearBusy(); //remove the busy message
</attribute>
<button label="Echo Event">
<attribute name="onClick">
Clients.showBusy("Execute..."); //show a busy message to user
Events.echoEvent("onLater", w, null); //echo an event back
</attribute>
</button>
</window>
And i am using the "doLongOperation()" method in vm. But this is not working.