• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

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
 
It's a beautiful day in this neighborhood - Fred Rogers. Tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic