0

How to update UI once background task is over?

asked 2014-08-12 06:14:19 +0800

Ashishp gravatar image Ashishp
1

I have a long running task which takes around 20-30 seconds to complete.

This task is perfomed once user click on button on page.

Once task is over I need to update UI with one more button to download the result in a file.

This should happen in background. So user has not to wait to complete the task

One progress bar can be shown to show the progress.

Other Info

Task does some mathmetical computation. Please advise. Thanks.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-08-12 07:47:42 +0800

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

Hi Ashishp,

You have to read the following topic :

http://forum.zkoss.org/question/70806/building-zk-front-end-to-handle-multiple-simultaneous-long-running-data-queries/

greetz chill

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: 2014-08-12 06:14:19 +0800

Seen: 12 times

Last updated: Aug 12 '14

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