• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

blank form with logic:iterate  RSS feed

Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Those are the largest trousers in the world! Especially when next to this ad:
how do I do my own kindle-like thing - without amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!