-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi all,
I have a long import operation into a database.
The DB import proc writes log info into a table.
I show the log table in a Listbox.
What I want to do:
- start the import proc
- refresh the Listbox with the log periodically to show the current log info
What is the best way to do this?
Thanks for any help.
Have you try it with a timer component?
Hi,
I got a hint to do it with EventQueue und timer.
See http://www.zkoss.org/forum/listComment/20520/1/20.
Is this the prefered way to do this (refresh GUI while long operation)?
Regards
Ralf
It seems the best way to do such things. The timer can (if data is changed) publish in the EventQueue. That's what servlet engine technique offered.
An interesting point is 'WebSockets' (WebSocketServer) but it's an other technologie.
best
Stephan
Asked: 2012-09-07 08:07:39 +0800
Seen: 122 times
Last updated: Sep 10 '12