0

how to refresh data every n minute

asked 2008-09-30 14:48:00 +0800

ibsolution gravatar image ibsolution
468 1 1 6

hai,

i have a page that contain a textbox, inside that componet i have one tab that should refresh every n minute automatic

how to code to archive that goal ?

TIA,

Andy Susanto

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2008-09-30 15:35:31 +0800

sousa1981 gravatar image sousa1981
573 4

It look like an easy task. See http://www.zkoss.org/smalltalks/gmapsMonitor/

Check comments, use ScheduledExecutorService

link publish delete flag offensive edit

answered 2008-10-01 12:46:29 +0800

ansancle gravatar image ansancle
327 9

or you can use the 'timer' component inside your .zul, it will generate a callback every x milliseconds where you define x. in that callback you can update your data.

link publish delete flag offensive edit

answered 2008-10-03 00:33:20 +0800

henrichen gravatar image henrichen
3869 2
ZK Team

Yes. Listen to onTimer and do your "repeat" things. Check ZK demo for Timer component.

link publish delete flag offensive edit
Your reply
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

RSS

Stats

Asked: 2008-09-30 14:48:00 +0800

Seen: 277 times

Last updated: Oct 03 '08

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