Re: Problems with logic:iterate (indexId has no effect) - doesn't anyone know the solution?

2003-07-08 Thread Bård Arve Evjen
Message - From: Sandeep Takhar [EMAIL PROTECTED] Date: Mon, 7 Jul 2003 10:13:33 -0700 (PDT) To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Problems with logic:iterate (indexId has no effect) - doesn'tanyone know the solution? I wouldn't use a vector, but maybe you can? My

RE: Problems with logic:iterate (indexId has no effect) - doesn't anyone know the solution?

2003-07-08 Thread Matthew J. Vincent
Mailing List [EMAIL PROTECTED] Subject: Re: Problems with logic:iterate (indexId has no effect) - doesn't anyone know the solution? I wouldn't use a vector, but maybe you can? My understanding is that iterate works on anything that returns an iterator. logic:iterate name=someName should

RE: Problems with logic:iterate (indexId has no effect) - doesn't anyone know the solution?

2003-07-08 Thread Bård Arve Evjen
PROTECTED] Date: Tue, 8 Jul 2003 13:42:27 -0400 To: [EMAIL PROTECTED] Subject: RE: Problems with logic:iterate (indexId has no effect) - doesn'tanyone know the solution? Bard, I'm not sure if you have figured this out or not, but to all who haven't - here is a link to a Struts iterate/ tag

Problems with logic:iterate (indexId has no effect)

2003-07-07 Thread Bard A. Evjen
Hi, I have a vector called variationmargins and in it I have a property called loadProfile that is either 1 or 2 for all postings. I have tried to use the logic:iterate tag to output the result using the loadProfile as an index, but it has not effect. It just outputs everything, no matter the

Problems with logic:iterate (indexId has no effect) - doesn't anyone know the solution?

2003-07-07 Thread Bård Arve Evjen
I didn't think this was a big problem for you Struts-gurus, but maybe I'm wrong :-) I have a vector called variationmargins and in it I have a property called loadProfile that is either 1 or 2 for all postings. I have tried to use the logic:iterate tag to output the result using the loadProfile

Re: Problems with logic:iterate (indexId has no effect) - doesn't anyone know the solution?

2003-07-07 Thread Sandeep Takhar
I wouldn't use a vector, but maybe you can? My understanding is that iterate works on anything that returns an iterator. logic:iterate name=someName should be used when the bean someName is in some scope and is the collection that you want. logic:iterate name=someName property=someProperty

problems with logic:iterate in Struts

2002-11-01 Thread Alok Garg
Hello, I am getting an error in logic:iterate while I am iterating over an hashtable. code sinnpet: logic:iterate id=element name=categoriesForm property=groups bean:write name=element property=key/ bean:write name=element property=value/ /logic:iterate hashtable contains key as

Problems with logic:iterate

2002-10-22 Thread Gekka
Hi, I'm using Struts 1.1b2 and Tomcat 4.1.12 on Windows 2000 and I have some problems with the logic iterate tag. What I do is that I set a Collection (HashSet) in the request object inside execute() in an action and then pass control to a jsp to iterate over the results. Here's what I do in the

RE: Problems with logic:iterate

2002-10-22 Thread Karr, David
-Original Message- From: Gekka [mailto:gekka;bluezone.no] Sent: Tuesday, October 22, 2002 10:57 AM I'm using Struts 1.1b2 and Tomcat 4.1.12 on Windows 2000 and I have some problems with the logic iterate tag. What I do is that I set a Collection (HashSet) in the request object

RE: Problems with logic:iterate

2002-10-22 Thread Gekka
Thanks!! I've been struggling with this all day :D Gekka On Tue, 2002-10-22 at 20:19, Karr, David wrote: -Original Message- From: Gekka [mailto:gekka;bluezone.no] Sent: Tuesday, October 22, 2002 10:57 AM I'm using Struts 1.1b2 and Tomcat 4.1.12 on Windows 2000 and I have