You could return an ERXRedirect pointing to a DirectAction or WOComponent that 
initiates your download.


Am 05.08.2013 um 09:44 schrieb Dev WO <[email protected]>:

> Hello,
> 
> I'm having some trouble trying to return a file after an ajaxlongresponse.
> 
> I'm currently have my callable task used through ajaxlongresponse 
> (CCAjaxLongResponsePage), I'm generating a woresponse (which is actually a 
> file) then hand back this woresponse to the controller component (which is my 
> "regular" page where I also initiate the longresponse from.
> I'd like the file to be downloaded without user interaction at the end of the 
> task, but so far I'm just able to get the response into my controller (so if 
> I make another link on the page to download it works, but I don't want this 
> extra step).
> 
> Any help would be great as I'm running out of ideas on this one:)
> 
> Thanks,
> 
> Xavier



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to