S2: setting caching-related response headers on *.action?

2009-06-05 Thread Bas Schulte
Hi, I want all response of my action handlers to have a couple of headers related to caching (i.e.: do not cache this, please). I would expect there's some global settings somewhere (struts.xml) that handles this for me but I can't find it. Any pointers on this? Cheers, bas. ---

Re: [S2] getting property value / OGNL calling a method of my model object with an argument

2009-05-27 Thread Bas Schulte
On 28 mei 2009, at 01:01, Dave Newton wrote: Bas Schulte wrote: Activity id: String: No arg: According to the OGNL docs, adding an argument needs parenthesis, as I'm doing in 'boomering(activityId'. [sic] Thi

[S2] getting property value / OGNL calling a method of my model object with an argument

2009-05-27 Thread Bas Schulte
Hi, more confusion. I'm trying to call a method in a model object with a Long (type doesn't really matter though) argument: Activity id: String: No arg: According to the OGNL docs, adding an argument needs parenthesis, as

Re: s:select list and pre-selected item

2009-05-26 Thread Bas Schulte
(the suggestion as it's outlined in the above issue also works). On 26 mei 2009, at 16:07, Paweł Wielgus wrote: Hi Bas, is your edited activity.location.address.country equal to 4122? If so it will be selected, if not than it won't be. Best greetings, Paweł Wielgus. 2009/5/26 Bas

s:select list and pre-selected item

2009-05-26 Thread Bas Schulte
Hi, I'm pretty much stumped about this one. I have a list of countries (List) that I return from my action to the view .jsp. I can render the select list just fine, this is the outputted html: Nederland United Kingdom Deutschland However, for the life of it I can't figure out