On Wed, 2004-03-10 at 16:18, zope@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@zope.org [mailto:zope-bounces@zope.org] On Behalf Of fowlertrainer@anonym.hu Sent: Wednesday, March 10, 2004 1:56 AM To: zope@zope.org Cc: gal.laszlo@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@anonym.hu
_______________________________________________ Zope maillist - Zope@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@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 )