You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Olof Olsson <Ol...@team.telstraclear.co.nz> on 2003/05/05 00:25:51 UTC
Struts Tiles "Definition" like feature in Veolcity
I am considering moving from JSP/Tiles to Velocity for the view component of
a Struts implementation. However one thing that I really like about Tiles is
the capability of defining Tiles Definitions in a central XML file and then
to Actionforward directly to these Definitions. Provides for _real_ clean
"content" JSPs.
Is it possible to do something similar in Velocity?
Thanks!
--Olof
--
Olof Olsson <ol...@team.telstraclear.co.nz>
ISP Integration Architect, TelstraClear Limited, Auckland, NZ
T +64 9 912 4977, M +64 29 912 4977
There is a difference between knowing the
path and walking the path. -- Morpheus
---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org
Re: Struts Tiles "Definition" like feature in Veolcity
Posted by Nathan Bubna <na...@esha.com>.
Olof said:
> I am considering moving from JSP/Tiles to Velocity for the view
> component of a Struts implementation. However one thing that I
> really like about Tiles is the capability of defining Tiles Definitions
> in a central XML file and then to Actionforward directly to these
> Definitions. Provides for _real_ clean "content" JSPs.
>
> Is it possible to do something similar in Velocity?
I'm no Tiles expert (actually, i've never used it :-), so i'm not entirely
sure what you are looking for, but here's some links that might prove useful
to you.
This is a simplistic introduction to the VelocityLayoutServlet. Since there
is no TilesTool yet, i suppose you could call this the currently prescribed
means of content/layout separation.
http://www.happysearch.com/velocity/tools/docs/view/layoutservlet.html
And, this is an earlier thread concerning Tiles support in velocity (of
course, you already found this, because you checked the archives before
asking, right? ;-) )
http://marc.theaimsgroup.com/?t=104417944800001&r=1&w=2
i'd pay particular attention to what Ted has to say.
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