David, When I downloaded the 0.1.x version from Downloads section, the response_filename param works. Hope this helps.
Lucas, https://github.com/lucasdavila/web2py-appreport/wiki page points to older w2p file, which is an year old. May be you should update the documentation to point to 0.1.x version. -Mandar On Monday, November 19, 2012 2:24:07 PM UTC+5:30, Mandar Vaze wrote: > > Same here. I downloaded the w2p on Nov 12th - so I think I have the latest > version. But the filename seems to be ignored. > I'm using web2py 2.0.9 > > On Monday, November 12, 2012 1:26:53 PM UTC+5:30, David Sorrentino wrote: >> >> Hello everybody! :) >> >> I am using appreport with the PISA engine in order to export a view to a >> PDF file and I would like to choose the name of the PDF file generated. >> The view is the following one: >> results = dict(success=True) >> html = response.render('default/results.html', results) >> return plugin_appreport.REPORTPISA(html = html, response_filename = >> 'change_my_name.pdf') >> >> As you can see, I used the parameter *response_filename* for setting a >> custom name, but it doesn't seem to work. >> Any suggestions? >> >> Cheers, >> David >> > --