search for: pdf_reports

Displaying 2 results from an estimated 2 matches for "pdf_reports".

2006 Mar 15
8
Ajax request for file downloads
...before, but is it possible to get a file download as a response from Ajax.Request? I know you can have response txt or xml, but how would I go about requesting a file download? Currently I''m requesting the download like this: window.location = ''http://www.mysite.com/pdf_reports.php?id=1&mnt=05&yr=2005''; But as you know, this ties up the browser and gives me little control of the download. Any thoughts/experiences would greatly be appreciated! Ian Tyndall
2010 Aug 02
1
Any way around using only 1 render per action?
My program needs to use a render in a controller action. The problem is that the action makes a user list and sends it to wicked_pdf, which uses a render, causing an error if I use one also. Does anyone know a way around this, and is the render I''m using totally necessary?? Here is my controller code. @households = Household.find(:all, :order => "last_name, first_name")