Ok, I used jstl and now it works!
Here's the code (it's changed since the first post, so don't compare it):
<logic:iterate id="category" name="pannelloForm"
property="highLevelCategories">
<div>
<h5><bean:write name="category" property="name"/> </h5>
<c:set var="subcategories"
value="${pannelloForm.highLevelCategoriesChildren[category.id]}"></c:set>
<ul>
<c:forEach var="subcategory" items="${subcategories}">
<li>${subcategory.contenuto.name}</li>
</c:forEach>
</ul>
</div>
</logic:iterate>
where:
- pannelloForm is the ActionForm bean
- highLevelCategories is an ArrayList<FProductCategory>
- highLevelCategoriesChildren is an
Hashtable<Integer,ArrayList<FProductCategory>>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]