velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Van Horn <matthew_van_h...@yahoo.com>
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 <matthew_van_horn@yahoo.com>


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message