[jboss-user] [JBoss Seam] - Seam PDF with content-disposition=attachment - is it possibl
do-not-reply at jboss.com
Wed Dec 19 14:23:57 EST 2007
Currently, when I generate PDFs using Seam PDF, they either a) open in the same browser window by default, or b) open in a new window, if I use s:link with target="_blank". What I'm missing (compared to the old way of generating PDFs using Jasper - not that I miss Jasper by any amount) is the ability to force a save dialog to pop up when a PDF is requested, by setting "content-disposition: attachment" in the response.
Now, my question is, was this ever addressed by Seam? Is it possible to force a save dialog when generating PDF using Seam PDF?
Alternatively, is it possible to get the generated PDF as a byte in the code - so that I would output it manually, setting the content-disposition on the way?
Thanks a lot,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114366#4114366
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114366
More information about the jboss-user