Re: Is it possible to nest or substitute an expression within an expression?
Bruce Perryman <[email protected]> Thu, 9 Feb 2006 11:48:58 -0800 (PST)
| Newsgroups | gmane.comp.text.fmpp |
|---|---|
| Message-ID | <[email protected]> |
--0-1884766271-1139514538=:37141 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for responding, works like a charm. Sorry, but I missed it in the = doc. Thanks again for your help! Daniel Dekany <[email protected]> wrote: Wednesday, February 8, 2006, 1= 1: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: > > =EF=BF=BD${x.name} > > =EF=BF=BD${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 fi= les 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=3Dlnk&kid=103432&bid#0486&dat=121642 _______________________________________________ fmpp-open mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fmpp-open =09 --------------------------------- Relax. Yahoo! Mail virus scanning helps detect nasty viruses! --0-1884766271-1139514538=:37141 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for responding, works like a charm. Sorry, but I missed it in the = doc.<br><br>Thanks again for your help!<br><br><b><i>Daniel Dekany <dd= [email protected]></i></b> wrote:<blockquote class=3D"replbq" style=3D= "border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left:= 5px;"> Wednesday, February 8, 2006, 11:20:37 PM, Bruce Perryman wrote:<b= r><br>> Hi again,<br>><br>> I was wondering if it is possible t= o get very fancy by substituting<br>> an expression within an expressi= on.<br>><br>> For example:<br>><br>> Instead of:<br>><br>&= gt; =EF=BF=BD${x.name}<br>><br>> =EF=BF=BD${x.${y}} where y evaluat= es to name.<br><br>Write ${x[y]}. (See in the FreeMarker Manual.)<br><br>= -- <br>Best regards,<br> Daniel Dekany<br><br><br><br>-------------------= ------------------------------------<br>This SF.net email is sponsored by= : Splunk Inc. Do you grep through log files<br>for problems? Stop! Down= load the new AJAX search engine that makes<br>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!<br>http://sel.as-us= .falkag.net/sel?cmd=3Dlnk&kid=103432&bid#0486&dat=121642<br>_= ______________________________________________<br>fmpp-open mailing list<= br>[email protected]<br>https://lists.sourceforge.net/lists= /listinfo/fmpp-open<br></blockquote><br><p> <hr size=3D1>Relax. Yahoo! Mail=20 <a href=3D"http://us.rd.yahoo.com/mail_us/taglines/viruscc/*http://commun= ications.yahoo.com/features.php?page=3D221">virus scanning</a> helps dete= ct nasty viruses! --0-1884766271-1139514538=:37141-- ------------------------------------------------------- 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