So if you really want to use JSP-portlets, you can't use velocity controls &
controllers.
You will need to either go back to the ECS-controllers (I dont recommend
that -- are they still there?),
or write new JSP-based controllers and controls just like the velocity-based
ones that Raphael recently checked in.
It shouldn't be too difficult. I have recently converted a lot of JSP to
Velocity, and it was easy.
Going from Velocity -> JSP should be almost as easy ...
> - Turbine/Jetspeed builds it's layout using buffered elements so it's
> not possible when processing a request to partially flush
Raphael, I believe you've looked into this problem. Could you give us an
idea of how difficult it is to modify Turbine and Jetspeed to not use
buffered ecs elements?
It would be great if we could mix jsp-portlets with velocity controllers.
In the meantime we will have to continue with supporting two sets of
templates.
-------------------------------------
David Sean Taylor
[EMAIL PROTECTED]
-------------------------------------
http://jakarta.apache.org/jetspeed
-------------------------------------
> -----Original Message-----
> From: Raphael Luta [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 20, 2001 8:59 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Alternatives to EcsServletElement for externalization
>
>
> McClelland, Mark wrote:
>
> > Unfortunately, I *am* using JSP as my main templating
> system. Still,
> > the content retrieved by my request dispatcher
> (EcsServletElement) shows
> > up above all of the portlets, just ahead of the portlet table. This
> > appears to be a layout bug in handling the
> EcsServletElement. I will
> > look into it.
> >
>
>
> This is not a layout bug but it's much more complex and stems from
>
> 2 issues:
> - in servlet 2.2, you can't intercept the output stream from
> a dispatch
> request.
> - Turbine/Jetspeed builds it's layout using buffered elements so it's
> not possible when processing a request to partially flush
> a generated
> Velocity template, render and flush a JSP pages and then render and
> flush the end of the Velocity content.
> All in all what happens when you use EcsServletElement is that the
> content of your JSP is streamed and flushed just before the
> first non-JSP
> element in your page (example a VelocityControl).
>
> --
> Raphael Luta - [EMAIL PROTECTED]
> Vivendi Universal Networks - Paris
>
>
> ---------------------------------------------------------------------
> 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]