[Seaside] Displaying progress on a web page
Dmitry Dorofeev
dima-sender-3c337a at yasp.com
Thu Aug 17 11:44:15 UTC 2006
Also there is server PUSH technology, search Google.
You can have an <ifarme> in your page, which updates from the server
size, it renders full HTML page in each go. Just an option, if you
don't want to mess with Javascript.
-Dmitry.
Philippe Marschall wrote:
> 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.
>
> Philippe
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
More information about the Seaside
mailing list