struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ylva Degerfeldt" <>
Subject Re: [S2]Problems using property of POJO stored in a HashMap stored in the session
Date Wed, 20 Aug 2008 12:14:07 GMT
>> I still wonder how Struts can possibly know that the
>> objects I've put in my HashMap are of my InfoObject type.
> Why would it need to?
To be able to execute the getState method that belongs to the
InfoObjects. But maybe Struts 2 is that "smart" so it can do that

But what matters is that something is wrong with my code. I'd just
like to know what it is.
I'm pasting it again, in case it's needed:

<s:property value = "#session.myMap[#thisValue].state"/>

Please help!


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message