I am trying to use the iterator tag and am unclear on a couple items. I have been 
using the following example as a template:
 
<iter:forCategories var="athlete" items="${athletes}">
    <iter:category value="${athlete.country}">
      <iter:header>
        <h3><c:out value="${athlete.country}"/></h3>
      </iter:header>
      <iter:body>
        <c:out value="${athlete.name}"/><br>
      </iter:body>
      <iter:footer>
        •-•-•-•-•
      </iter:footer>
    </iter:category>
  </iter:forCategories>
 
Question 1: the value show for items="${athletes}"..... is this the reference name for 
the ArrayList, Collection, etc given to the object to be iterated?
In the code I'm trying to work with, when I add a "body" element I get a 
javax/servlet/jsp/JspContext error....
 
This is what I'm trying to work with:
 
<iter:forCategories var="f" items="${folders}">
<iter:body>
Folders To Be Displayed
</iter:body>
</iter:forCategories>
 
Can someone please educate me as to what I might be doing wrong?
 
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to