velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Van Horn <>
Subject dynamic property names?
Date Mon, 02 Aug 2004 22:23:32 GMT
Can you use dynamic property names in Velocity?
I mean something like:

#set($foo = "xyzzy")
the value of $foo is $myObject.$foo

where that resolves to $myObject.getXyzzy()

I'm going to check this via trial and error, but any help is
appreciated, and might save me some time and trouble.

Matthew Van Horn <>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message