(Newbie) Dot in property causing exception

Bruce Perryman <[email protected]> Mon, 6 Feb 2006 13:18:59 -0800 (PST)
Newsgroups gmane.comp.text.fmpp
Message-ID <[email protected]>
--0-423305396-1139260739=:60728
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

   Hi,

I'm a newbie, and I wondered if there was a way around this.

An element in a list has a '.' in the name. When I try to evaluate the _e=
xpression in FreeMarker an exception is thrown.

The List contains the value I.lastname. When I try to access it from with=
in the
 <#list name as x> as

"${x.I.lastname}"

FreeMarker tells me that x.I is undefined. Other than changing the elemen=
t name, is there a way to do this?

Thanks.
	=09
---------------------------------
Brings words and photos together (easily) with
 PhotoMail  - it's free and works with Yahoo! Mail.
--0-423305396-1139260739=:60728
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

   Hi,<br><br>I'm a newbie, and I wondered if there was a way around this=
.<br><br>An element in a list has a '.' in the name. When I try to evalua=
te the _expression in FreeMarker an exception is thrown.<br><br>The List =
contains the value I.lastname. When I try to access it from within the<br=
>&nbsp;&lt;#list name as x&gt; as<br><br>"${x.I.lastname}"<br><br>FreeMar=
ker tells me that x.I is undefined. Other than changing the element name,=
 is there a way to do this?<br><br>Thanks.<p>
		<hr size=3D1>Brings words and photos together (easily) with<br>=20
<a href=3D"http://us.rd.yahoo.com/mail_us/taglines/PMDEF3/*http://photoma=
il.mail.yahoo.com">PhotoMail </a> - it's free and works with Yahoo! Mail.
--0-423305396-1139260739=:60728--


-------------------------------------------------------
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