You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by "Lang, Cliff" <cl...@proxicom.com> on 2001/10/30 20:24:41 UTC
Can't seem to modify Velocity Macro settings --
Even though I have these set in my TR.props I still can't override, or
use localInline as you can see from the velocity.log. What else am I
missing?
TR.props
velocimacro.permissions.allow.inline = true
velocimacro.permissions.allow.inline.to.replace.global = true
velocimacro.permissions.allow.inline.local.scope = true
Velocity.log
Tue Oct 30 14:18:19 EST 2001 [info] ResourceManager : found
GlobalMacros.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
Tue Oct 30 14:18:19 EST 2001 [info] Velocimacro : VM library template
macro registration complete.
Tue Oct 30 14:18:19 EST 2001 [info] Velocimacro : allowInline = true :
VMs can be defined inline in templates
Tue Oct 30 14:18:19 EST 2001 [info] Velocimacro :
allowInlineToOverride = false : VMs defined inline may NOT replace
previous VM definitions
Tue Oct 30 14:18:19 EST 2001 [info] Velocimacro : allowInlineLocal =
false : VMs defined inline will be global in scope if allowed.
Thanks, Cliff
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Can't seem to modify Velocity Macro settings --
Posted by Jason van Zyl <jv...@zenplex.com>.
On 10/30/01 2:24 PM, "Lang, Cliff" <cl...@proxicom.com> wrote:
> Even though I have these set in my TR.props I still can't override, or
> use localInline as you can see from the velocity.log. What else am I
> missing?
>
> TR.props
> velocimacro.permissions.allow.inline = true
> velocimacro.permissions.allow.inline.to.replace.global = true
> velocimacro.permissions.allow.inline.local.scope = true
You need the "services.VelocityService" prefix in front of those
declarations.
>
> Velocity.log
>
> Tue Oct 30 14:18:19 EST 2001 [info] ResourceManager : found
> GlobalMacros.vm with loader
> org.apache.velocity.runtime.resource.loader.FileResourceLoader
> Tue Oct 30 14:18:19 EST 2001 [info] Velocimacro : VM library template
> macro registration complete.
> Tue Oct 30 14:18:19 EST 2001 [info] Velocimacro : allowInline = true :
> VMs can be defined inline in templates
> Tue Oct 30 14:18:19 EST 2001 [info] Velocimacro :
> allowInlineToOverride = false : VMs defined inline may NOT replace
> previous VM definitions
> Tue Oct 30 14:18:19 EST 2001 [info] Velocimacro : allowInlineLocal =
> false : VMs defined inline will be global in scope if allowed.
>
>
>
>
> Thanks, Cliff
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
jvz.
Jason van Zyl
http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>