Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 33274 invoked by uid 500); 8 Nov 2002 09:24:01 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 33263 invoked from network); 8 Nov 2002 09:24:00 -0000 Subject: Displaying 'progress' screen for long running reports To: cocoon-users@xml.apache.org X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001 Message-ID: From: "Michael Edge" Date: Fri, 8 Nov 2002 09:24:09 +0000 X-MIMETrack: Serialize by Router on sdbo1003/DMGUK/DeuBaInt/DeuBa(Release 5.0.9a |January 7, 2002) at 08/11/2002 09:24:11 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi I have a Cocoon application that provides a front-end to a reporting system, and some of the reports take quite a while to run - in the order of 5-10 minutes. I need to provide a feature whereby the user submits the report request and a screen appears that polls the report every 10 seconds or so to determine if the reporting file has been created. When it has, it will be displayed, otherwise the screen will keep displaying a helpful message to the user. Any ideas on how to do this using Cocoon? The workflow is something like this: 1) User clicks 'Run Report' 2) Request is submitted to reporting system and a helpful 'progress' screen is returned to the user 3) The progress screen checks for the report by submitting a URL. If a 404 is returned, continue to display the 'progress' screen, otherwise display the report. Regards Michael -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: