| Issue 307: | Problem in respones content type "Content-disposition", "attachment;filename=" | |
| 2 people starred this issue and may be notified of changes. | Back to list |
|
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
Aug 13, 2009
:) 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.
Aug 14, 2009
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
Any news about this issue?
Sep 11, 2009
(No comment was entered for this change.)
Status:
WontFix
|
||||||||