In the type conversion page on the wiki there's some discussion of
automagically creating new elements in a set. I've been trying to get this
to work but haven't succeeded thus far. Can anyone point me to a working
example of the collection.makeNew[index].property feature?
Unlike Map and List e
I recently ran into an issue where I noticed that a custom type converter was
being called when parameters were being applied to a model object but not
when that model was being rendered out to a result via the s:select tag.
The issue is probably summed up by Jasper Rosenberg's previous bug repor
Hi totojack-
I think you're right that the key property is useless now that you're using
the positional index to access your list elements.
Also, the type conversion page says that using the unique id indexed
approach won't allow for automatic creation of instances. The docs say the
following
Hi Ravi-
I think the problem here is how the struts2 tags were implemented. As far
as I can see from the code base the type converter definition you're
referring to is used by the XWork API and not OGNL. The XWork api is used
by the Struts Tags which have the option to call the converter or not
Hi Oguzhan-
We've run into the *exact* same problem. Our interceptor is returning
"error" but that return value is not respected when the result is rendered.
It makes me wonder what the value of returning the invocation result is in
the first place...
Just stepping through the code and browsi
5 matches
Mail list logo