I tried to show the value of "information" using s:property but it didn't show anything. So there must be something wrong with my code. What's the right way to get an object instance from a Map (like this) and use one of its properties in S2?
Please help! /Ylva On Tue, Aug 19, 2008 at 2:53 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- On Tue, 8/19/08, Ylva Degerfeldt wrote: >> <s:set name = "information" value="#session.myMap[%{#thisValue}]"/> >> [...] >> About the s:set tag, I'm not sure if that's the way to do it >> but I don't know how to check if it's correct when debugging. > > Why not just display the contents of the variable you think you're setting? > > <s:property value="#information"/> > > Dave > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]