This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

dynamic multibox - populate an Array in ActionForm from Action class

 
Kevin Vicy
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to display a dynamic multibox for which the entries are retrieved from a database table. I have a ActionForm containing an ArrayList for holding all possible values as LabelValueBean and a String array to hold the selected items. Now I am trying to populate this form from Action class and forward to jsp which iterates over the ArrayList and displays the multibox. The problem is while populating the ActionForm ArrayList from the Action class, for some reason jsp gets a null ArrayList. I tried to populate a text box the same way it works but not the ArrayList or any Array. Am I missing any initialization? Would be great if you could post a code that does this work. Please note that I want to populate the ActionForm from Action class.

Thanks
Kevin
 
Brent Sterling
Ranch Hand
Posts: 948
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would be helpful if you posted the code that is not working.

- Brent
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic