Re: iterating of collection of HashMapsusing logic:iterate

2006-10-13 Thread Vinod Kumar
Thanks Puneet. I will try your solution as well. vinod --- Puneet Lakhina <[EMAIL PROTECTED]> wrote: > On 10/13/06, Vinod Kumar <[EMAIL PROTECTED]> wrote: > > > > Hi All, > > I have hashmap with key/value but the value in > this > > hashmap is another hashmap. > > How can I iterate over all the

RE: iterating of collection of HashMapsusing logic:iterate

2006-10-13 Thread Bruno Melloni
I think you need instead of in the inner tag. But please correct me if I'm wrong. -Original Message- From: Puneet Lakhina [mailto:[EMAIL PROTECTED] Sent: Friday, October 13, 2006 1:58 PM To: Struts Users Mailing List Subject: Re: iterating of collection of HashMapsusing logic:it

Re: iterating of collection of HashMapsusing logic:iterate

2006-10-13 Thread Puneet Lakhina
On 10/13/06, Vinod Kumar <[EMAIL PROTECTED]> wrote: Hi All, I have hashmap with key/value but the value in this hashmap is another hashmap. How can I iterate over all the values using logic:iterate. HashMap h1 = new HashMap(); String id=1; HashMap h2 = new HashMap(); h2.put(id,"123"); h2.put("

RE: iterating of collection of HashMapsusing logic:iterate

2006-10-12 Thread Vinod Kumar
Thanks Pradyumna !! I am able to make it work as suggested by you. Thanks Vinod --- "Pradyumna kumar, Jena (J.)" <[EMAIL PROTECTED]> wrote: > try somethin like this > > > > <% > > Map cuurentMap=((Map.Entry > )currentEntry).getvalue(); > > PageContext.setAttribute("cuurentMap",cuure

RE: iterating of collection of HashMapsusing logic:iterate

2006-10-12 Thread Pradyumna kumar, Jena \(J.\)
or in the inner iterate have both name set to entry and property to value From: Vinod Kumar [mailto:[EMAIL PROTECTED] Sent: Fri 10/13/2006 6:29 AM To: user@struts.apache.org Subject: iterating of collection of HashMapsusing logic:iterate Hi All, I have hashmap

RE: iterating of collection of HashMapsusing logic:iterate

2006-10-12 Thread Pradyumna kumar, Jena \(J.\)
try somethin like this <% Map cuurentMap=((Map.Entry )currentEntry).getvalue(); PageContext.setAttribute("cuurentMap",cuurentMap); %> // here u need to process the entries From: Vinod Kumar [mailto:[EMAIL PROTECTED] Sent: Fri 10/13/2006 6:29