This is a known problem.  Is anyone working on a fix/workaround for
this?  I am about to start working on this problem, and I would like to
know if anyone else has made progress on it.  I am familiar with the
advice that Raphael gave regarding this issue on June 30, 2001, which I
have excerpted below.  If anyone has additional input that might help
me, I would welcome it.

-mark


--- begin excerpt ---
David Sean Taylor wrote:
> 
> I tried to write a simple JSP portlet.
> Problem: the output of the JSP comes out before all other Jetspeed
output.
> This used to work in 1.3a1.
> 
> I thought by changing
> 
> template.homepage=/Home
> 
> to
> 
> template.homepage=/Home.jsp
> 
> then I could ensure that the entire page is generated with JSP.
> Is this no longer the case?

This should be the same if the default extension is set to jsp.

> We now have velocity controls and controllers. Perhaps this is the
> problem....
>

Most likely, anytime you'll try to include JSP/servlet generated output
in a 
Velocity template, you'll end up with your JSP output before the
Velocity one.

This means that if you need JSP/servlet, you need to use JSP screens,
layouts,
navigations, ECS or JSP portletcontrol and ECS or JSP portletcontroller.

> I believe we still need to support JSP.
> Im just wondering what kind of effort it is going to take, since
Velocity
> and JSP, in the same page, seems to be incompatible.
> The JSP output always comes out first.
> 

Well, mainly duplicate all the code I've written for Velocity
(VelocityPortlet,
VelocityPortletControl, VelocityPortletController) and implement it in
JSP.

--- end excerpt ---



> -----Original Message-----
> From: Paul Spencer [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 16, 2001 12:29 PM
> To: [EMAIL PROTECTED]
> Subject: JSP Portlets appear before their title.
> 
> 
> Jetspeed from the CVS on 12-Jul-2001 8:30 EST
> 
> The contents of a JSP appear before any other portlets.  The title of
> the protlet appears where I expected.  Is this the correct behavior?
> 
> Paul Spencer
> 
> ---------------------------------------------------------------------
> 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