I'm working on a project that is using struts 2, codebehind, and SiteMesh.
We're using Spring for injection. We've got it wired up so that each action
has a template that is "magically" discovered, such that if I request an
action "../foo!bar.action" the template "foo-bar.ftl" is used to render th
: 'Regular', 'Decaf':
> 'Decaf'}}"
>
> musachy
>
> On 8/29/07, james_carbon5 <[EMAIL PROTECTED]> wrote:
>>
>> Thanks for the response Dale. The "r" isn't a typo. If I remove it I get:
>>
>> java
ve not written much freemarker, but I'd bet the r is a typo. The
> important difference between the two tags you have are the single quotes
> around the value of the list attribute.
>
> james_carbon5 wrote:
>> <@s.select ... list=#{"foo":"foo stuff"
I was trying to figure out how to use a static map, that I created in a
freemarker template, to populate a drop down list, a la:
<@s.select ... list=#{"foo":"foo stuff","bar":"bar stuff"} />
After an hour or so of banging my head into my keyboard I found
http://www.jroller.com/cdaniluk/entry/we
4 matches
Mail list logo