Have you tried something like this :

    <logic:iterate id="bean2" name="myBean" property="myHashMap">
       <bean:write name="bean2"/>
    </logic:iterate>


If your property "hashmap" is a hashMap that contains a key "myInts" with the value "Integer []" try this:


<logic:iterate id="bean2" name="myBean" property="myHashMap(myInts)">
  <bean:write name="bean2"/>
</logic:iterate>




news.gmane.org wrote:


myBean contains a property myHashMap
myHashMap contains Integer[]'s as values

I would like to figure out how to iterate through myHashMap and write each
Integer from each Integer[]

I have the following but since the Integer[] is not a bean or a property of
a bean, I can't figure out how to reference it or it's values.

 <logic:iterate id="bean1" name="myBean" property="myHashMap">
    <logic:iterate id="bean2" name="bean1" property="Integer[]"
indexId="i">
       <bean:write property=Integer[${i}]/>
    </logic:iterate>
 </logic:iterate>

thanks for your help in advance..




--------------------------------------------------------------------- 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]



Reply via email to