Menu

#11 Invoking macro issue ; works in Java Version

open
nobody
None
5
2006-03-17
2006-03-17
Anonymous
No

I have the following example out of the user guide

#macro ( inner $foo )
inner : $foo
#end

#macro ( outer $foo )
#set ( $bar = "outerlala" )
outer : $foo
#end

#set($bar = 'calltimelala' )
#outer( "#inner($bar)" )

I ran this with version NVelocity-0.4.2

I get the following output

outer : #inne

when I run this with the java version velocity-1.4

outer : inner : outerlala

Is this a known problem ?

Discussion


Log in to post a comment.