Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

blank form with logic:iterate

 
Chris Pat
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
I need to create a blank form with Struts1.
Conceptually I can create a blankLine object that is composed of and ArrayList of field objects as simple as new String() or LabelValueBean. Then populate an ArrayList, blankForm, with n number of blankLine objects. I can logic:iterate over the blankForm which should expose a single blankLine object at a time. However I cant figure out how to logic:iterate for each field and the necessary form members to capture the fields in the the line and the lines in the form. I dont know if I need to use indexed attribute. Can someone instruct me on the details to success with an implementation?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic