Jump to content

using the struts iterator


skaterdav85

Recommended Posts

I'm using a struts iterator to display various properties from a handful of beans within an array, but each bean also contains a vector of bean objects. I'm not sure how to access these properties within the vector of each bean object.Here is my struts code so far. the subjectName works fine. I put a comment for where I need to iterate through the vector.

<s:iterator value="classificationObjects" status="classifObjStatus">	 <s:property value="subjectName" />	 <%-- here i need to iterate through the vector called 'children' contained in each bean within classificationObjects[] --%></s:iterator>

Anyone have any ideas?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...