>From the BananaBean example, I put the following in a nested:form
 
<nested:iterate property="bananas">
    <nested:text property="flavour"/>
</nested:iterate>

and get this exception:
 
java.lang.IllegalArgumentException: Property 'bananas' is not indexed
 
 
In the form I construct the bananas list using
 
private List bananas = ListUtils.lazyList(new ArrayList(),
      new Factory()
      {
        public Object create() {
          return new BananaBean();
        }
      });
 
In the display action I populate the list using bananas.add

 

Reply via email to