• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
Bartenders:

How to iterate neseted beans?

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I want to iterate through a nested bean, it is 3D.

The first bean contains an ArrayList, of the second bean.
Each second bean contains an ArrayList of the third bean.
Each Third bean contains different attributes.

I want to print Attributes of the third bean in text-field and the user should edit them
and committ changes by pushing the submit-button.

I can call the getter of the attributes in the third bean, but how can I make the
application call the setter?


This is my code... what should I do?

<nested:iterate id="line" property="resultList" name="kombinationForm">
<nested:iterate id="elementLine" name="line" property="resultList">
<nested:text name="elementLine" property="oneAtribute"/>
</nested:iterate>
</nested:iterate>



Can anyone help me?
Please

mfg hal arres
 
I brought this back from the farm where they grow the tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic