struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "news.gmane.org" <abenw...@hotmail.com>
Subject iterate through a HashMap of Integer[]'s
Date Wed, 21 Apr 2004 15:39:53 GMT
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message