Re: JSTL in html-el:option

2003-08-01 Thread Barry Volpe
David, Your suggestion worked. Thanks, Barry - Original Message - From: Karr, David [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, July 31, 2003 4:44 PM Subject: RE: JSTL in html-el:option This may have nothing to do with your

RE: JSTL in html-el:option

2003-07-31 Thread Steve Raeburn
You need to use varStatus to get the current index: html-el:select property=yearsreferences c:forEach begin=1 end=10 varStatus=status html-el:option value=c:out value=${status.count}/ c:out value=${status.count} / /html-el:option

Re: JSTL in html-el:option

2003-07-31 Thread Barry Volpe
I get the same problem: Attribute ${status.count} has no value Barry - Original Message - From: Steve Raeburn [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, July 31, 2003 1:31 PM Subject: RE: JSTL in html-el:option You need to use varStatus to get

RE: JSTL in html-el:option

2003-07-31 Thread Karr, David
This may have nothing to do with your problem, but the value attribute of html-el:option should be ${status.count} and not c:out That's the whole point of the library :) . What web container are you using? -Original Message- From: Barry Volpe [mailto:[EMAIL PROTECTED] I get the