Re: Is it possible to nest or substitute an expression within an expression?
Daniel Dekany <[email protected]> Wed, 8 Feb 2006 23:58:02 +0100
| Newsgroups | gmane.comp.text.fmpp |
|---|---|
| Message-ID | <[email protected]> |
Wednesday, February 8, 2006, 11:20:37 PM, Bruce Perryman wrote:
> Hi again,
>
> I was wondering if it is possible to get very fancy by substituting
> an expression within an expression.
>
> For example:
>
> Instead of:
>
> =A0${x.name}
>
> =A0${x.${y}} where y evaluates to name.
Write ${x[y]}. (See in the FreeMarker Manual.)
--=20
Best regards,
Daniel Dekany
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642