velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <ge...@optonline.net>
Subject Re: horizontal foreach output
Date Mon, 15 Apr 2002 12:47:49 GMT
On 4/14/02 10:55 PM, "William Bajzek" <w_bajzek@yahoo.com> wrote:

> 
> --- Mark de Reeper <markdr@yahoo.com> wrote:
>> Another workaround to the macro problem is to do a set on the result and then
>> trim the string since it is a real String object by then.
>> 
>> From your example:
>> 
>> #set( $link = #link("home") )
>> <a href="$link.trim()&somethingelse=1">
> 
> I thought you couldn't use a macro inside another macro... I'll have to give
> it
> a try.

You can nest VMs until the proverbial bovine reenter the domicile.

-- 
Geir Magnusson Jr.                                     geirm@optonline.net
System and Software Consulting
"He who throws mud only loses ground." - Fat Albert


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