Coincidentally, I've been working on this same issue. I needed struts
actions to handle PDFs.
My solution was to add pdf to the action extensions, as in:
Note the critical trailing comma which allows for blank extensions in
addition to pdf. I'm not sure exactly how struts, by default, knows
Hi,
We use freemarker results. I'd also like to use freemarker templates to
build an email message.
Can I access the current freemarker configuration object inside my
action? I've seen examples
of how to create a NEW configuration object, but that's not as good. In
particular, I'd like to
stor
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'
----- From: "Fred Toth" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Saturday, July 07, 2007 9:11 PM
Subject: How do I make a checkbox initially checked?
Hi again,
I'm working on a form where a particular checkbox should be initially
checked when the for
Hi again,
I'm working on a form where a particular checkbox should be initially
checked when the form first comes up.
None of the options in s:checkbox seem to support this.
I tried to have my backing object initialized with the particular
Boolean set
to true, but struts doesn't seem to actual
Thanks. That was it! I must have been through the doc a dozen times, but I
missed the '$' vs '%' issue.
Thanks again.
Fred
Dale Newfield wrote:
Fred Toth wrote:
To be more specific: In jsp, you can do this:
This works even when user doesn't exist because of the
firstName}"/>
We get an exception "user is undefined". This is presumably because the
freemarker
expression language is being used, and not OGNL?
So I'm amazed that I have not been able to find a single mention of this
very important issue!
Am I miss
7 matches
Mail list logo