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.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to