Jump to content

using the struts iterator


skaterdav85
 Share

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...