Stephan Richter wrote:

On Wednesday 13 April 2005 07:06, Markus Leist wrote:


Is there a feedback-mechanism when Zope-3 is responding a html-request
which takes some time?

i.e.
method(self):
 -> output some start-text
 sleep 10s
 -> output some text
 sleep 10s
 -> output some end-text

any ideas?



One idea:

The first and easy step:

Open a popup window and let it do a response redirect to itself with a built in delay. Showing the progress from the value in a session variable.

The second and hard step:

Get some feedback about where in the process you are and pass that to the session variable.

This can be two transactions, so I am not shure that data can be passed in a session variable.



The general idea is to let make a progress page that does the redirect to itself, and updates the progress then.

But it is not really a Z3 questions as much as it is a general web interface issue.

--

hilsen/regards Max M, Denmark

http://www.mxm.dk/
IT's Mad Science

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to