[Zope] Zope html progress result generate

zope at netchan.cotse.net zope at netchan.cotse.net
Wed Mar 10 10:18:40 EST 2004


RESPONSE.write(text)
RESPONSE.flush() 

> -----Original Message-----
> From: zope-bounces at zope.org [mailto:zope-bounces at zope.org] On 
> Behalf Of fowlertrainer at anonym.hu
> Sent: Wednesday, March 10, 2004 1:56 AM
> To: zope at zope.org
> Cc: gal.laszlo at peto.hu
> Subject: [Zope] Zope html progress result generate
> 
> 
> Hello !
> 
> In mod_python I can send the result to the browser with
> o.write(Msg) command immediately (o is the object of the connection).
> 
> So I can show the progress of the long operation like this:
> 
> o.content_type="html"
> o.write("Long process with progress")
> for i in range(1,101):
>     o.write(str(i)+"% processed");
>     sleep(100)
> o.write("Finished...")
> 
> So I can see the whole progress in the browser.
> 
> I want to create same function in zope.
> Can I do it ?
> 
> Thanx for every help !
> 
> -- 
> Best regards,
>  fowlertrainer                          mailto:fowlertrainer at anonym.hu
> 
> 
> _______________________________________________
> Zope maillist  -  Zope at zope.org 
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross 
> posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
> 




More information about the Zope mailing list