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("
;
>
> PageContext.setAttribute("cuurentMap",cuurentMap);
>
> %>
>
> collection="cuurentMap">
>
> // here u need to process the entries
>
>
>
>
>
>
>
>
> From: Vinod Kumar [ma
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
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 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
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("key1","456");
h2.put("key2","789");
then I make entry
7 matches
Mail list logo