Thanks for your answer.
I partially fixed this, noticing the square brackets notation is the
same for Lists and Maps, which is not so clear on the related doc page
(I posted a comment about this, having had a conversion with Dave
Newton about this in a more recent thread on the mailing-list), as
Hi Maxx,
Yeah, I've had no success with Enum's either for the same reason,
however that's definitely fixed in Struts 2.1.1 (XWork 2.1)
In theory, EnumMap should work in 2.1 as well, although I'm not sure
what can be done about the constructor.
regards,
Jeromy Evans
Maxx wrote:
Thanks for
Did you ever resolve this?
I always use a Map rather than a List because historically there was a
problem accessing Lists via the OGNL implementation.
I don't know whether it was fixed
ie. Substitute the List with a Map and address the items by the
appropriate key instead of the index
Hello,
Refering to http://struts.apache.org/2.x/docs/type-conversion.html ,
I'm currently trying to make Type Conversion working on a really
simple example. And unfortunately, nothing's working. Below are the
sources.
Could someone please tell what I'm doing wrong (I suspect something
with the
4 matches
Mail list logo