[Struts 2.1] Using a s:select with type conversion

2009-07-13 Thread dcabasson
Hi, I have trouble understanding the way TypeConversion along a s:select tag. Any advice on the matter would be welcomed. I have posted the bug under https://issues.apache.org/struts/browse/WW-3184 attaching a simple Use Case showing what I find to be an unexpected behaviour. Thanks for your

Re: [Struts 2.1] Using a s:select with type conversion

2009-07-13 Thread Musachy Barroso
I don't think you can rely on the select tag for a list of dates, as it (obviously :)) doesn't know how to convert the dates to string. What I find strange is that looking at the freemarker code it seems to be like both the value and the caption should be the same (toString()): @s.iterator