Regards,
Eddie
----- Original Message ----- From: "andy wix" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 13, 2004 10:29 AM
Subject: The old 'please wait' issue
Hi,
I am trying to implement a 'please wait' page and have seen the stuff in the archives.
The method of choice seems to be:
* The Action that is currently doing the work should instead fire off a background thread to do it. It then forwards to a "Please Wait" page.
* The background thread does its work then sets a flag in the user's session when it's done.
* The "Please Wait" uses a meta-refresh tag to automatically submit itself every few seconds, with the destination being a "Done Yet" action.
* The "Done Yet" action will consult the flag variable in the user's session.
If its not there, forward back to the "Please Wait" page again. If it's done, forward to the view from the original action.
The problem is that I am using Tiles and so cannot have (as far as I know) a meta-refresh tag as this should go in the head of the document. Likewise I can't use on-load javascipt as I don't have a body tag.
Thanks,
Andy
--- avast! Antivirus: Outbound message clean. Virus Database (VPS): 0442-3, 10/15/2004 Tested on: 10/15/2004 8:17:09 PM avast! - copyright (c) 2000-2004 ALWIL Software. http://www.avast.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]