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