Display a status message while waiting for long process to end
Hi I have a number of external scripts which can take some time to return. How can I display a 'Please wait' or similar message to the user until the script has finished and then update the page. Thanks Dean Houghton
As far as I remember you can do this by calling a page with the "Please Wait" message on, and then have that page call the "real" page via JavaScript. Untested: <script Language="JavaScrip"> self.document.location.href = "the_real_page.htm"; </script> It's hacksish, and will probably cause odd behavoiur in some browser, but you can test that. I do remember having used the method a few times in the past. regards Max M d.houghton@wideawake.co.uk wrote:
Hi
I have a number of external scripts which can take some time to return. How can I display a 'Please wait' or similar message to the user until the script has finished and then update the page.
Thanks
Dean Houghton
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
The terminus for that is 'non-parsed header'. Never did it with zope though. Good luck Gidon d.houghton@wideawake.co.uk wrote:
Hi
I have a number of external scripts which can take some time to return. How can I display a 'Please wait' or similar message to the user until the script has finished and then update the page.
Thanks
Dean Houghton
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
d.houghtonļ¼ wideawake.co.uk -
Gidon Friedman -
Max M