Re: Question about using a HashMap as input for logic-el:iterate

2004-12-16 Thread Wessel van Norel
Thanks! That works. Regards, Wessel van Norel On Wed, 15 Dec 2004 17:08:48 -0500, Bill Siggelkow <[EMAIL PROTECTED]> wrote: > Try something like this: > > > > > > > > > > > > -Bill Siggelkow > > Wessel van Norel wrote: > > > Hi all, > > > > I wa

Re: Question about using a HashMap as input for logic-el:iterate

2004-12-15 Thread Bill Siggelkow
Try something like this: -Bill Siggelkow Wessel van Norel wrote: Hi all, I was wondering if it is possible to use a HashMap containing vectors as the input for a logic-el:iterate tag. Why do I use a hashmap? That's because I first have to iterate through a l

Re: Question about using a HashMap as input for logic-el:iterate

2004-12-15 Thread Wessel van Norel
On Wed, 15 Dec 2004 08:31:03 -0800, Karr, David <[EMAIL PROTECTED]> wrote: > First of all, note that you could use "c:forEach" instead of > "logic:iterate". You should be able to do it with both, but there's no > sensible reason to use both kinds of iteration constructs. Well, I came to the logic

RE: Question about using a HashMap as input for logic-el:iterate

2004-12-15 Thread Karr, David
n RT expression that evaluates to a collection. Your value is a string, not a collection. > -Original Message- > From: Wessel van Norel [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 15, 2004 7:04 AM > To: Struts Users Mailing List > Subject: Question about using a Ha

RE: Question about using a HashMap as input for logic-el:iterate

2004-12-15 Thread Paul McCulloch
Sent: 15 December 2004 15:04 > To: Struts Users Mailing List > Subject: Question about using a HashMap as input for logic-el:iterate > > > Hi all, > > I was wondering if it is possible to use a HashMap containing vectors > as the input for a logic-el:iterate tag. > >

Question about using a HashMap as input for logic-el:iterate

2004-12-15 Thread Wessel van Norel
Hi all, I was wondering if it is possible to use a HashMap containing vectors as the input for a logic-el:iterate tag. Why do I use a hashmap? That's because I first have to iterate through a list of questionnaires, and per questionnaire I've a list of questions. The hashmap has the questionnaire