Nested Expression

dougly <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Hi,
I wonder if this nested expression is wokring.
So far I got exception

Caused by: freemarker.core.InvalidReferenceException: Expression
types['${annoType}'] is undefined on line

<#assign types =
	{
		"TEXTBOX" : "com.vaadin.ui.TextField",
		"SELECT" : "com.vaadin.ui.Select"
	}
>

<#assign annoType = anno.type>
<#assign uiType = "types['${annoType}']" >
-- 
View this message in context: http://freemarker.624813.n4.nabble.com/Nested-Expression-tp2246666p2246666.html
Sent from the freemarker-user mailing list archive at Nabble.com.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.