You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Quinton McCombs <qm...@nequalsone.com> on 2003/01/15 01:28:21 UTC
Converting from VelocityECSLayout to VelocityOnlyLayout
The VelocityECSLayout is deprecated in T2.3. Along with
VelocityECSLayout the default implementation of the $page pull tool
(org.apache.turbine.util.template.TemplatePageAttributes) has also been
deprecated. This poses an obvious problem of being able to set page
titles, body attributes, etc from a screen template, actions, etc. It
also requires that your Velocity templates (really just the layouts)
must construct the HTML, HEAD, BODY, etc tags.
I have created a new pull tool to use instead of TemplatePageAttributes
and composed a short document on how to use it. Please take a look and
comment on it. If you want to try it out, the code is currently in cvs
HEAD.
http://nagoya.apache.org/wiki/apachewiki.cgi?JakartaTurbine2/VelocityOnl
yLayout
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Converting from VelocityECSLayout to VelocityOnlyLayout
Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
"Quinton McCombs" <qm...@nequalsone.com> writes:
Cool would be, if your tool is method-compatible to TemplateLink, so
that a simple change of the property defining the $page pull tool in
TR.properties would hide all these details from the user.
Regards
Henning
>The VelocityECSLayout is deprecated in T2.3. Along with
>VelocityECSLayout the default implementation of the $page pull tool
>(org.apache.turbine.util.template.TemplatePageAttributes) has also been
>deprecated. This poses an obvious problem of being able to set page
>titles, body attributes, etc from a screen template, actions, etc. It
>also requires that your Velocity templates (really just the layouts)
>must construct the HTML, HEAD, BODY, etc tags.
>I have created a new pull tool to use instead of TemplatePageAttributes
>and composed a short document on how to use it. Please take a look and
>comment on it. If you want to try it out, the code is currently in cvs
>HEAD.
>http://nagoya.apache.org/wiki/apachewiki.cgi?JakartaTurbine2/VelocityOnl
>yLayout
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH hps@intermeta.de
Am Schwabachgrund 22 Fon.: 09131 / 50654-0 info@intermeta.de
D-91054 Buckenhof Fax.: 09131 / 50654-20
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>