• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [Ajax] - Returning a file after ajaxlongresponse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ajax] - Returning a file after ajaxlongresponse


  • Subject: Re: [Ajax] - Returning a file after ajaxlongresponse
  • From: Johann Werner <email@hidden>
  • Date: Mon, 05 Aug 2013 13:33:11 +0200

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@hidden>:

> 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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >[Ajax] - Returning a file after ajaxlongresponse (From: Dev WO <email@hidden>)

  • Prev by Date: Re: [Ajax] - Returning a file after ajaxlongresponse
  • Next by Date: Intermittent hostname null in URL
  • Previous by thread: Re: [Ajax] - Returning a file after ajaxlongresponse
  • Next by thread: Intermittent hostname null in URL
  • Index(es):
    • Date
    • Thread