velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "brian" <br...@westpole.com>
Subject RE: VelocityLayoutServlet
Date Tue, 01 Jun 2004 19:32:45 GMT
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?

-----Original Message-----
From: brian [mailto:brian@westpole.com] 
Sent: Tuesday, June 01, 2004 1:51 PM
To: 'Velocity Users List'
Subject: RE: VelocityLayoutServlet

Nevermind, I got the latest jar file, it has it.

-----Original Message-----
From: brian [mailto:brian@westpole.com] 
Sent: Tuesday, June 01, 2004 1:36 PM
To: 'Velocity Users List'
Subject: RE: VelocityLayoutServlet

I already followed these instructions and I also extracted the jar file,
velocity-tools-view-0.4.jar and the VelocityViewServlet.class file is
there but the VelocityLayoutServlet.class file is not.

-----Original Message-----
From: Tim Colson [mailto:tcolson@cisco.com] 
Sent: Tuesday, June 01, 2004 12:59 PM
To: 'Velocity Users List'
Subject: RE: VelocityLayoutServlet

> include the layout which requires the VelocityLayoutServlet.  
> It doesn't
> seem to be in any jar file that I have retrieved from the cvs modules
> pertaining to velocity.  Can anyone help me out?

Should be quick and easy, VelocityViewServlet and VelocityLayoutServlet
are
both in the VelocityTools jar :-)

Assuming you already have this jar, then to swap, just need to modify
your
web.xml file as per the instructions here:

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

Cheers,
Timo



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


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


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


---------------------------------------------------------------------
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