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: calling setProperty(float) not possible ?
Date Fri, 13 Jul 2001 00:59:08 GMT
Tim Colson wrote:
> 
> > Velocity will recognize as arguments to directives, velocimacros and the
> > RHS of #set() :
> > snip
> Say - is this good stuff in the docs? If not, please consider adding it as
> an additional section "Geeky Details". Seriously, it's good to know.]

Will do.  I am long overdue for a docs revision.  I love docs.  Too much
consulting work at the moment...  saving for a rainy day, I guess...

> 
> > With strings, '$foo' is handled literally, "$foo" is actually
> > 'rendered'.  So you can get away with all sorts of wacky things
> Cool - you can do interpolation on strings and even use directives!

Yes.  It's an awful lot of fun...

#set($foo = "#mymacro( $foo $bar )" )

:)

geir


> 
> Diabolically yours,
> Tim

-- 
Geir Magnusson Jr.                           geirm@optonline.net
System and Software Consulting
Developing for the web?  See http://jakarta.apache.org/velocity/
You have a genius for suggesting things I've come a cropper with!

Mime
View raw message