-
1. Re: Seam PDF with content-disposition=attachment - is it pos
asavitsky Dec 20, 2007 9:33 AM (in response to asavitsky)Doesn't look like there are ways to do this at the time. I created a JIRA feature request: http://jira.jboss.com/jira/browse/JBSEAM-2417
-
2. Re: Seam PDF with content-disposition=attachment - is it pos
norman.richards Dec 20, 2007 7:13 PM (in response to asavitsky)There was already an open JIRA issue (http://jira.jboss.com/jira/browse/JBSEAM-2366) for this, and by happy coincidence I wrote the code for it a couple days ago. I've just checked it in. I'll get docs in shortly, but for now just add disposition="attachment" to your <p:document> tag. I may change the name to something more obvious before the final release. (or I may keep it like that to be clearer to people who understand the HTTP concept)
Also note that the PDF support no longer does the HTML redirect. The redirect is done at the HTTP level, where it should have been done all along. I'd love to get some feedback on how it's working, especially from IE users. (I only have Safari and Firefox locally and have to jump through hoops to get to a windows machine) -
3. Re: Seam PDF with content-disposition=attachment - is it pos
terryb Dec 28, 2007 5:13 AM (in response to asavitsky)Norman is release 2.0.1GA far away yet? I could really use those enhancements to pdf module.
-
4. Re: Seam PDF with content-disposition=attachment - is it pos
asavitsky Dec 28, 2007 10:15 AM (in response to asavitsky)Norman,
Was this fix included with the released 2.0.1.CR1, or do I need to build from CVS?
Thanks,
Alex -
5. Re: Seam PDF with content-disposition=attachment - is it pos
asavitsky Dec 28, 2007 12:24 PM (in response to asavitsky)Already answered my own question :)
No, it's not included in the CR1 build
Yes, it works like a charm (at least on IE7 and Mozilla2)
Thanks Norman! -
6. Re: Seam PDF with content-disposition=attachment - is it pos
norman.richards Dec 28, 2007 6:00 PM (in response to asavitsky)Yes, I'm sorry none of this made it into CR1. I expect 2.0.1CR2 will come out shortly after everyone is back from vacation, which shouldn't be too far from now.