velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Bubna" <nbu...@gmail.com>
Subject Re: how to modify velocity output?
Date Tue, 17 Jun 2008 17:01:37 GMT
On Tue, Jun 17, 2008 at 9:46 AM, prabhakar thopa
<prabhakart_in@yahoo.com> wrote:
> Hi,
>
> I want to
> add javascript code to all my velocity templates to record browser screen
> resolution and whether the pages are being displayed on a framed window.
> I have
> several hundred templates that I need to add this code to.
>
> Is there a
> way of including a file in a template without modifying the template source? For
> instance like a filter that intercepts the velocity output and adds the
> additional stuff in.

sounds like a job for SiteMesh  (google for it, if you don't know what it is)

> Regards
>
> Prabhakar
>
>
>

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


Mime
View raw message