[ 
http://jira.codehaus.org/browse/DISPL-509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_124311
 ] 

Michael Osipov commented on DISPL-509:
--------------------------------------

I have tested with properties and setProperty, all worked fine.

I hope this can be incorporated into 1.1.2

> 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 Osipov
>         Attachments: DISPL-509.patch
>
>
> 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 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-devel mailing list
displaytag-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to