Re: Huge file long response prep and download
Re: Huge file long response prep and download
- Subject: Re: Huge file long response prep and download
- From: Kieran Kelleher <email@hidden>
- Date: Fri, 19 Dec 2008 13:23:27 -0500
Hi Miguel,
I have no problem using AjaxProgress, long response updating, etc for
"normal" long response tasks where a *single* WOActionResults gets
fired at the end of the long response task to take user to whatever
page I want to push them to ..... the question is what behaviour to
have when the long response is automatically followed by a file
downlad (WOActionResults #1) *and* automatically return user to
another page (WOActionResults #2).... is anyone doing sth like this
and if so, are you doing it with standard Ajax.framework bit or some
custom javascript ........ or is there another suggested behaviour
that is more elegant?
-Kieran
On Dec 19, 2008, at 1:14 PM, Miguel Arroz wrote:
Hi!
One way we use to solve those problems is to have a part of the
page updating every X seconds (it may be an AjaxUpdateContainer or
so). When possible, we show up the percentage of the processing on
that AUC.
Yours
Miguel Arroz
On 2008/12/19, at 17:55, Kieran Kelleher wrote:
Looking for UI behaviour ideas ........ When I have a case of large
file download that needs a long response preparation scenario due
to file prep time, I normally do one of these 2:
1) Open a popup Window saying sth like "please wait while we
prepare your file..." and that popup runs the long response and
returns the file to be downloaded when the file is ready after long
response preparation is over, . or
2) Go to a long response page saying "please wait while we prepare
your file..." and that page returns the file when the long response
is over, but since the file to be downloaded is the "nextPage"
response, the user stays on that same page.
Not sure if I am happy with either of those, and maybe there is a
more elegant way such as having the long response
"nextPageOnCompletion action somehow fire two consecutive
actions ...... one to download the file and the other to return to
the original page ....... not sure if/what Ajax framework has bits
to accomplish that .....
In any case, what other UI behaviour approaches are others in the
community doing for this situation where a long response is needed
to generate a file and download the file in one user action?
-Kieran
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden