0

Issue with progress meter

asked 2017-01-03 04:30:52 +0800

KartikBandri gravatar image KartikBandri
3 2

updated 2017-01-03 07:39:10 +0800

chillworld gravatar image chillworld flag of Belgium
5322 4 9
https://github.com/chillw...

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();
    }
}
delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2017-01-05 15:24:09 +0800

Darksu gravatar image Darksu
1991 1 4

Hello KartikBandri,

The following similar demo works with zk 8.0.3:

https://www.zkoss.org/zkdemo/server_push/timer

Best Regards,

Darksu

link publish delete flag offensive edit
0

answered 2017-01-12 04:34:59 +0800

KartikBandri gravatar image KartikBandri
3 2

Hi Darksu,

Thanks for the reply It is working now

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2017-01-03 04:30:52 +0800

Seen: 35 times

Last updated: Jan 12 '17

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More