[Zope] Zope html progress result generate

FLORAC Thierry thierry.florac at onf.fr
Thu Mar 11 04:08:15 EST 2004


On Wed, 2004-03-10 at 16:18, zope at netchan.cotse.net wrote:

> RESPONSE.write(text)
> RESPONSE.flush() 


I use Zope behind Apache with mod_rewrite and mod_proxy.
This method doesn't seems to work in this configuration...
It only works when you have a direct access to Zope.

  Thierry



> > -----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 )
> > 
> 
> 
> _______________________________________________
> 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 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20040311/2789d829/attachment.html


More information about the Zope mailing list