From: Torsten Krah [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2008 9:15 AM
> Your example does work fine, but its not my usecase, isn't it?
Oops, sorry about that. My mistake.
I'm assuming the list is a List<List<?>> and the map is Map<List<?>, List<?>>
if so, try this:
<%-- begin setup, for example only --%>
<s:set name="innerList1" value="{1, 2, 3}"/>
<s:set name="innerList2" value="{4, 5, 6}"/>
<s:set name="valueList1" value="{'a', 'b', 'c'}"/>
<s:set name="valueList2" value="{'d', 'e', 'f'}"/>
<s:set name="listOfLists" value="{#innerList1, #innerList2}"/>
<s:set name="myMap" value="#{#innerList1:#valueList1,
#innerList2:#valueList2}"/>
<%-- end setup, for example only --%>
<%-- here's the code you'll really want --%>
<s:iterator id="innerList" value="#listOfLists">
<s:iterator id="valueList" value="#myMap[#innerList]">
<s:property value="#valueList"/>
<br/>
</s:iterator>
</s:iterator>
Brad Cupit
LSU - University Information Systems