Hi, I'm hoping someone can help me out.
I have a vector object where each element contains an object, which has
another vector element.
I need to traverse through the first one, while inside the loop, also
traversing the vector within each object.
Can someone give me a lead on how can this possibly be accomplished.
I've tried just nesting one iterate tag within the other and use the
first one's item property for the second one's iteration, but I keep
getting an error that even my outter iterate is telling me that it can't
find a getter method, which exists.
<logic:iterate id="comp" name="results">
<tr>
<td><a href="/DisplayComponents.do?component_ID=<bean:write
name="comp" property="component_ID"/>"><bean:write
name="comp" property="component_ID"/></a></td>
<td><bean:write name="comp" property="description"/></td>
</tr>
<logic:iterate id="part" name="comp" property="parts">
<tr>
<td><a href="/DisplayParts.do?part_ID=<bean:write
name="part" property="part_ID"/>"><bean:write name="part"
property="part_ID"/></a></td>
<td><bean:write name="part"
property="description"/></td>
</tr>
</logic:iterate>
</logic:iterate>
Can someone please help or give a simple example.
Thanks.
Ilya
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]