Because you cannot change the content-type header for just one portlet, you will have to do something like:
- open the pdf in a new window, possibly linking to a separate servlet that does the pdf generation - generate the PDF and use the html <embed> tag to embed the pdf in the page where the portlet is. - if it's an iframe portlet, you could load the pdf directly I believe. >>> [EMAIL PROTECTED] 04/19/04 01:21PM >>> Hi, I have a a velocity-portlet which shows a list (Customers). Within this portlet, I want to have a link (button, ...) like "view as pdf-dokument". I have no idea how to generate a pdf-outputstream within a velocity-portlet?? For pdf-generation I prefer the itext-framework. In jetspeed-tutorial an mailing-lists, I found no idea for my problem. Thanks Georg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
