velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Bubna <nat...@esha.com>
Subject Re: rendering velocity in websphere
Date Thu, 03 Jun 2004 00:24:17 GMT
brian said:
...
> <servlet-name>glostage</servlet-name>
> <display-name>GLO Application</display-name>
>      <servlet-class>org.apache.turbine.Turbine</servlet-class>
> <init-param>
>        <param-name>applicationRoot</param-name>
>        <param-value>webContext</param-value>
>      </init-param>
> <init-param>
>        <param-name>properties</param-name>
> <param-value>/WEB-INF/conf/TurbineResources.properties</param-value>
>      </init-param>
>     </servlet>
>     <servlet>
> <servlet-name>velocity</servlet-name>
> <servlet-class>org.apache.velocity.tools.view.servlet.VelocityLayoutServ
> let</servlet-class>
>   <init-param>
>       <param-name>org.apache.velocity.properties</param-name>
>       <param-value>/WEB-INF/TurbineResources.properties</param-value>
>       </init-param>
> </servlet>
...

Brian, i concur with Tim.  the VelocityLayoutServlet was not designed to work
with Turbine.  in fact, i would be very surprised if it could be made to work
with it at all.  if you intend to use Turbine, then just use that.  they have
plenty of built in support for Velocity, layouts, tools and more.  i can't
imagine a Turbine user wanting or needing anything out of VelocityTools except
a few of the Generic Tools (e.g. DateTool, MathTool, etc.).

if you want help getting the VelocityLayoutServlet to work, then i'd be happy
to do that.   but step #1 would be to remove the Turbine servlet and not use
the TurbineResources.properties.   if you want help getting Turbine up and
running, then the turbine-user list is the place for you.

hope this helps clear things up.

Nathan Bubna
nathan@esha.com


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message