I need help on iterate within an iterate.
Outer Iterate is a ArrayList which contains an array
Inner Iterate is an array
The property needs to set on the JSP as text boxes.
Here is what I have (it works):-
<logic:iterate id="pList" name="currentForm" type="fal.Location"
property="locations">
<bean:write name="pList" property ="fy"/>
<bean:write name="pList" property ="logPrdCd"/>
//*************** This needs to be iterated as inner loop
<% fal.LocationHrs[] lList =pList.locationhrs;
for (int i=0; i< lList.length;i ++){%>
<td> <%=lList[i].locationid%> </td> <td> <%=lList[i].locationname%>
</td><td> <%=lList[i].hours%> </td>
</tr>
<%}%>
</logic:iterate>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp