On Sat, 23 Nov 2002, Wendy Smoak wrote:
Can you nest c:forEach tags? I can't find an example of it, and
it's not working for me.
Sure.
c:forEach items=${itemList} var=item
hr
c:out value=${item.id}/. c:out value=${item.text}/br
c:forEach items=${item.options}
Shawn wrote:
It looks right to me. Are you sure you're using our Standard Taglib
implementation? This could be a bug with other partial implementations.
I think I am... I have the standard.jar, jstl.jar, and c.tld from
jakarta-taglibs - standard-1.0.2 directory in the appropriate places
When I use that code I posted... I actually get the second/c:forEach tag
in the html output. Strange!
Never mind... I still can't see it, but there must have been a typo. I
deleted the nested c:forEach tag and re-typed it... and it works fine.
Thank you for the quick answer, and on a
Wendy == Wendy Smoak [EMAIL PROTECTED] writes:
Wendy Can you nest c:forEach tags? I can't find an example of it, and it's not
Wendy working for me.
Wendy c:forEach items=${itemList} var=item
Wendy hr
Wendy c:out value=${item.id}/. c:out value=${item.text}/br