-
1. Re: How to save seam pdf to a file
norman.richards Feb 4, 2008 11:27 AM (in response to terryb)I can think of two options. One would be to simply subclass UIDocument and create a new tag with a different implementation of encodeEnd.
Another option would be to use setRedirect="false" and nest the p:document in any JSF component that implements ValueHolder. (maybe a custom component that you used for your file save function) That's basically how the pdf/mail integration works. -
2. Re: How to save seam pdf to a file
norman.richards Feb 4, 2008 11:29 AM (in response to terryb)I would add that if you do either of those, report back if there's anything you think UIDocument could do to make life easier to re-use for other purposes.
-
3. Re: How to save seam pdf to a file
terryb Feb 4, 2008 7:08 PM (in response to terryb)Thanks Norman, I will report back when make some progress on it.
-
4. Re: How to save seam pdf to a file
terryb Feb 10, 2008 8:24 PM (in response to terryb)Norman I have logged JIRA. It would be a good feature to have in already impressive Seam PDF generation. Whichever way its done, obviously it would allow to specify serverside path/filename.
I have logged JIRA:
http://jira.jboss.com/jira/browse/JBSEAM-2613