You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Fred Toth <ft...@synernet.com> on 2007/07/09 23:49:08 UTC
select tag in freemarker
Hi,
Can anyone tell me the freemarker equivalent of this (in particular
the list with map literal syntax):
<s:select
name="months"
list="#{'01':'Jan', '02':'Feb'}"
/>
I've tried many, many different variations and I'm getting nowhere.
I do NOT understand the difference in attribute syntax in the UI
tags between jsp and freemarker.
Here are a few variations that DON'T work:
list="#{'01':'Jan', '02':'Feb'}" - same as above
list="%{#{'01':'Jan', '02':'Feb'}}" - force OGNL?
list="{'01':'Jan', '02':'Feb'}" - pure freemarker
Thanks,
Fred Toth
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org