Oh, sorry.

--- David Loup <[EMAIL PROTECTED]> wrote:
> Thanks for your reply, but that's not exactly what I'm trying to do.
> I don't want to iterate over the map, but over another collection (my
> "allKeys", which is for example a List).
> 
> For each value inside that list, I want to get the corresponding value
> from the map.
> 
> E.g:
> allKeys = {"Foo","Bar","Bob"}
> theMap = {<"Foo","FooValue">,<"Bob","BobValue">,<"Bar","BarValue">}
> 
> So I want to iterate over allKeys, and for each value, retrieve the
> "*Value" strings.

      <s:iterator value="strings" id="foo">
        <s:property value="#foo"/> => <s:property value="theMap[#foo]"/>
        <br/>
      </s:iterator>

Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to