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
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
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("
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
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
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
6 matches
Mail list logo