Matthias,

Based on my knowledge of Jetspeed, all portlets but JspPortlet always return
its output as string (not sure about Velocity based portles since I don't
use them).

I am not sure if the new portlet API will be released so soon. The draft of
new portlet API that I'm familiar with, was created by IBM folks in Germany.
That spec does in fact use somehing like PortletResponse which is very
different from the current way of returning content. I have not been
following the new portlet API lately so I don't know what is the current
plan. You may want to check the archives for latest discussions on that
topic.

Best regards,

Mark C. Orciuch
IT Consultant
Voice: 219-647-4122
e-Mail: [EMAIL PROTECTED]


-----Original Message-----
From: Wimmer, Matthias [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 12:23 PM
To: 'Jetspeed Users List'
Subject: RE: JSP and Jetspeed


Mark:

Ok, I got it: Originally, the JspPortlet returned a string and currently it
uses the PrintWriter and your new JspPortlet class uses either.

But my question was not related to the JspPortlet but to each and every type
of portlets.
Is the current usual way to return with a String or to use the PrintWriter?

Is this question worth the effort to be answered as soon a new (and very
different) portlet API will be released?


best regards
Matt



> -----Original Message-----
> From: Mark Orciuch [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 11, 2002 12:21 PM
> To: Jetspeed Users List
> Subject: RE: JSP and Jetspeed
>
>
> Matthias,
>
> Originally, the JspPortlet returned a string. Currently, it uses the
> PrintWriter (service.handleRequest).
>
> Best regards,
>
> Mark C. Orciuch
> IT Consultant
> Voice: 219-647-4122
> e-Mail: [EMAIL PROTECTED]
>
> -----Original Message-----
> From: Wimmer, Matthias [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 11, 2002 11:12 AM
> To: 'Jetspeed Users List'
> Subject: RE: JSP and Jetspeed
>
>
> Mark:
>
> Thank you. I hope this works. I didn't try it out yet. But in
> the meantime I
> found another solution:
>
> Inside of the JSP page you have to call out.flush() before
> making subsequent
> calls to other potential JSP objects (portlets, controls, controller)
>
> So my code is this:
>       out.flush();
>       out.println( thePortlet.getContent( theRunData ) );
>
>
> I have a question to your explanation concerning getContent():
> What is the former way of aggregation and what is the current way of
> aggregation?
>
> Is this correct:
>   formerly: use of PrintWriter
>   now:      return a String
>
>
> best regards
>
> Matt
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to