[Seaside] Displaying progress on a web page

Philippe Marschall philippe.marschall at gmail.com
Thu Aug 17 11:30:17 UTC 2006

2006/8/16, Mart-Mari Breedt <breedt_m at aircom.co.za>:
> Hi,
> How would one update an WAComponent without using a timed update?
> An example would be a progress list, that gets updated by an long
> running process.
> Thank you,

Ideally you would be able to use Comet for that. It would allow you to
create events on the server and evaluate them in the client.
Unfortunately it's not there yet.

So either fix it yourself ;) or use polling (periodical). The overhead
should not be that heavy if you only have a few users and comet would
require an open http connection and periodical updates anyway.

When the progress is done, inject a script that redirects to the next "page".

Just remember to run the periodical updates in a new Process.


More information about the Seaside mailing list