velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Terry Steichen" <te...@net-frame.com>
Subject Re: Velocitymacro caching independent of template
Date Mon, 11 Mar 2002 18:00:50 GMT
Geir,

Yes, that does work.  Thanks.

<$.02>Given that the macro I was using was in scope to its own template, it
was (and is) a bit counterintuitive to see what that has to do with global
macros.  To have this as default behavior could lead (as it did for me) to a
lot of frustration (before I finally figured it out).  I kept trying because
I knew how well Velocity worked - newcomers might get a surprise on
this.</$.02>

Regards,

Terry
----- Original Message -----
From: "Geir Magnusson Jr." <geirm@optonline.net>
To: <velocity-user@jakarta.apache.org>
Sent: Monday, March 11, 2002 12:08 PM
Subject: Re: Velocitymacro caching independent of template


> On 3/11/02 11:58 AM, "Terry Steichen" <terry@net-frame.com> wrote:
>
> > I have template caching off, so when I modify the template the change
shows up
> > with the next browser refresh.  However, if I change the code inside a
> > velocimacro in that same template, the change doesn't take effect unless
and
> > until I restart Tomcat.
> >
> > Is this the way it is supposed to work?
> >
>
> Depends on the settings.  It should be the case that
>
> velocimacro.permissions.allow.inline.to.replace.global = true
>
> Fixes that.  The default value is 'false' to prevent things from getting
> stepped on...  So that is what might be happening.
>
>
> --
> Geir Magnusson Jr.                                     geirm@optonline.net
> System and Software Consulting
> POC lives!
>
>
> --
> To unsubscribe, e-mail:
<mailto:velocity-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:velocity-user-help@jakarta.apache.org>
>
>



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


Mime
View raw message