At 13:48 02/01/01, Christophe Lombart wrote:
>Hi All,
>
>After a long Turbine study, I'm just starting with Jetspeed. So, sorry if
>my question is really stupid or if it is a well know issue.
>
>Is it possible to use Velocity or JSP for building my portlet view ? It
>seems that no ! If I understand, there is one specific portlet class used
>for a Turbine screen
>(org.apache.jetspeed.portal.portlets.TurbineScreenPortlet ) but there is
>no reference to the Template Context parameter. So, that means we have
>only ECS for building a dynamic html used in this Turbine portlet.
Yes, the curent portlet API expects the portlets to return their content as
a ConcreteElement. This will change with the new portlet API. (I'll check
the javadoc proposal it in tonight, latest tomorrow morning - promised!).
There is a workaround for using JSPs at the moment, you can use the
util/servlet/EcsServletElement to generate the content with a JSP, but
still return it in Ecs style...
There is nothing alike for velocity, but it might be easy to modify the
EcsServletElement to an EcsVelocityElement and use it until the new API is
implemented...
ingo.
>If I can , how is possible to display - in a portlet - a Velocity template
>file used with an Action class without screen class ? My idea is to
>migrate an existing Turbine application to Jetspeed. In this context, I
>have 2 templates that are interesting to plug into portlets.
>
>Many thanks for your feedback,
>Christophe
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
>
>--
>--------------------------------------------------------------
>To subscribe: [EMAIL PROTECTED]
>To unsubscribe: [EMAIL PROTECTED]
>Search: <http://www.mail-archive.com/[email protected]/>
>List Help?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?: [EMAIL PROTECTED]