velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Bubna <nat...@esha.com>
Subject Re: VelocityLayoutServlet
Date Tue, 01 Jun 2004 19:44:17 GMT
brian said:
> I am trying to display a velocity template using the
> VelocityLayoutServlet. When I try to access the page in the browser, the
> default layout template displays but it shows the actual velocity
> tags(code) in the page such as $page.setTitle and
> $navigation.setTemplate.  Is there another class I need to load in the
> web.xml in order to read these tags?

$page and $navigation are default Turbine tools.  they are not part of
Velocity or VelocityTools.  for doing navigation and page title stuff with the
VelocityLayoutServlet, read:

http://jakarta.apache.org/velocity/tools/view/layoutservlet.html

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