• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Struts 1 Nested Tags problem - a nested iterate inside another nested iterate

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

I am having a problem with using nested iterate of a form that has a list inside of a list



This code is producing HTML inputs with names such as "attributeItem[1].attributeValue" rather than "statementItem[1].attributeItem[1].attributeValue"

If I write the names directly into html, it is picked up correctly upon submission, but I can't get struts tags to produce the right HTML. I've tried using both nested:root and nested:nest, both set to statementList and nothing is changing the HTML output of the nested:text tag. Thanks for your help.
 
Quick! Before anybody notices! Cover it up with this tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic