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
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
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
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
4 matches
Mail list logo