velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Will Glass-Husain" <wgl...@forio.com>
Subject Re: Macro not executed on first load
Date Tue, 28 Mar 2006 18:47:58 GMT
Hi Gunnar,

This is a known bug.  See
https://issues.apache.org/jira/browse/VELOCITY-146

Best advice - don't define a in a parsed file and use it in the main file.

You might also try the config setting
velocimacro.permissions.allow.inline.local.scope

WILL

On 3/28/06, Gunnar Wagenknecht <gunnar@wagenknecht.org> wrote:
> Hi!
>
> I've defined a macro in a file that is included in a template using
> #parse. On the first page load the macro call is not executed but
> printed as is.  If I reload the page immediately it works as desired.
>
> Any ideas?
>
> Cu, Gunnar
>
> --
> Gunnar Wagenknecht
> gunnar@wagenknecht.org
> http://wagenknecht.org/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>


--
Forio Business Simulations

Will Glass-Husain
wglass@forio.com
www.forio.com

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