Add property to set request header Content-Disposition
------------------------------------------------------
Key: DISPL-509
URL: http://jira.codehaus.org/browse/DISPL-509
Project: DisplayTag
Issue Type: New Feature
Components: Export
Affects Versions: 1.1.1
Reporter: Michael
I'd like to be able to do the following:
either in properties or by setProperty tag
export.export name.content_disposition = (inline|attachment) default should be
attachment
results in response.setHeader("Content-Disposition",
" inline; filename=name.pdf"); or
results in response.setHeader("Content-Disposition",
" attachment; filename=name.pdf");
The filename can be set, the "serve type" not.
It is extremely annoying if my browser window turns into my an exported xml or
inline pdf or else.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel