Issue 307: Problem in respones content type "Content-disposition", "attachment;filename="
Status:  WontFix
Owner: ----
Closed:  Sep 2009
Reported by salineg...@gmail.com, Aug 12, 2009
I have this problem when i want to submit form for export a PDF format report 
and downloads it.
In this project,user submit a form with the condition of report, then i will 
give user a PDF file downloads response,i set the html header "Content-
disposition", "attachment;filename=XXX.pdf" ,i wish to get a file downloads 
dialog, but nyromodal output the binary PDF data to page.
Aug 12, 2009
Project Member #1 nyro...@gmail.com
If you want the user to download it, why are you opening it in nyroModal?
Simply link in a normal way and your user will be able to download it, without seeing
a modal anyway...

Will it solve your problem?
Aug 13, 2009
#2 salineg...@gmail.com
:) Sorry sir.
I want user download a report,but the report is generate by the condition that user 
input in the form,not just a static link.
for example,user click "Create Report" button and opening a nyroModal , then user must 
submit a form in nyroModal with some input(see 1.jpg),then the web application(java 
servlet) create a PDF report with user input, and return this PDF file to user. I think 
there will be a file downloads dialog but nyroModal show the binary data of PDF file.
Thx sir.
1.jpg
26.4 KB   View   Download
Aug 14, 2009
Project Member #3 nyro...@gmail.com
When the form is submitted, it shouldn't be opened in a modal. Instead, it should be
send to normal page.
If your script forces the download, everything should be ok.

Did you add the nyroModal class on your form? If so, remove it.
Aug 22, 2009
Project Member #4 nyro...@gmail.com
Any news about this issue?
Sep 11, 2009
Project Member #5 nyro...@gmail.com
(No comment was entered for this change.)
Status: WontFix