-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi All,
We are facing issue with progressmeter in our application while loggingout of the application this was working in zk version 3X but recently we updated to Zk library to version 8.0 caan any one please help me to resolve this issue
Please find below code
<timer id="progressTimer" repeats="true" delay="1000" onTimer="setProgress()"/>
<progressmeter id="progress" width="100%"/>
void setProgress() {
int value = progress.getValue();
timeout.setValue(String.valueOf(9 - (value / 10)));
progress.setValue (value + 10);
if(value > =90) {
progressTimer.stop();
closeWindow();
}
}
Hello KartikBandri,
The following similar demo works with zk 8.0.3:
https://www.zkoss.org/zkdemo/server_push/timer
Best Regards,
Darksu
Hi Darksu,
Thanks for the reply It is working now
Asked: 2017-01-03 04:30:52 +0800
Seen: 35 times
Last updated: Jan 12 '17