RE: [OT] JSTL question

2003-09-11 Thread Erez Efrati
You need to put loop.COUNT : c:out value=${selectBox[prop.key][loop.count].key}/ Erez -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 9:50 PM To: Struts Users Mailing List Subject: [OT] JSTL question Ok, i have a map named

Re: [OT] JSTL question

2003-09-11 Thread Kris Schneider
varStatus gives you an instance of javax.servlet.jsp.jstl.core.LoopTagStatus. It has a property called index that might be of interest... Quoting [EMAIL PROTECTED]: Ok, i have a map named selectBox that contains a number of ArrayLists keyed by strings. When I try to iterate over it, nothing

RE: [OT] JSTL question

2003-09-11 Thread Karr, David
Actually, in this case, loop.index is probably more appropriate. They are similar, but different. -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Thursday, September 11, 2003 1:54 PM To: 'Struts Users Mailing List' Subject: RE: [OT] JSTL question You need

Re: [OT] JSTL question

2003-09-11 Thread denis
Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 11, 2003 3:59 PM Subject: RE: [OT] JSTL question Actually, in this case, loop.index is probably more appropriate. They are similar, but different. -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent

RE: [OT] JSTL question

2003-09-11 Thread Kris Schneider
Careful. The count property is 1-based and keeps track of the current round of the iteration. The index property is 0-based and keeps track of the index of the current item in the collection being iterated over. Quoting Erez Efrati [EMAIL PROTECTED]: You need to put loop.COUNT : c:out

Re: [OT] JSTL question

2003-09-11 Thread Kris Schneider
is aa So, what is wrong there? - Original Message - From: Karr, David [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 11, 2003 3:59 PM Subject: RE: [OT] JSTL question Actually, in this case, loop.index is probably more

Re: [OT] JSTL question

2003-09-11 Thread denis
! My god. Sometimes it really helps having another pair of eyes. Thank you. - Original Message - From: Kris Schneider [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, September 11, 2003 4:04 PM Subject: Re: [OT] JSTL question Closing tag too early