I don't think that you can mix pdf content with content of other portlets on
the same page. Best solution I can think of is to use IFRAME tag to display
the portlet's content. IFramePortlet won't cut it because it sounds like
you're generating your content dynamically. Your custom portlet would
consist of a single IFRAME tag and it's source would have to be a screen
template returning the pdf content (for example,
http://localhost/jetspeed/template/pdfwriter.jsp).

Best regards,

Mark Orciuch - [EMAIL PROTECTED]
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/

> -----Original Message-----
> From: Nicholas Nemtsev [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 15, 2003 5:51 AM
> To: Jetspeed Users List
> Subject: Re: ContentType
>
>
> Hello!
>
> Thank you!
>
> On Wednesday 15 October 2003 12:09, Pernoud Aurelien wrote:
> >                 data.getResponse().reset();
> >
> data.getResponse().addHeader("Content-Type","application/force-dow
> nload" );
> > data.getResponse().addHeader("Content-Type","application/octet-stream");
> > data.getResponse().addHeader("Content-Transfer-Encoding","binary");
> > and this works fine ;)
> I am sorry, but this solution does not work.
> It is strange that result ContentType is text/plain. It should be
> text/html
> by default.
>
> > Although I remember reading once on some mail-archive that turbine 2.3
> > won't allow this kind of behavior, I'll check this  some day...
> We use turbine 2.2
>
> --
> With Best Regards,          | mailto:[EMAIL PROTECTED]
>         Nicholas Nemtsev    | http://www.pskov.e-nginet.com
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to