Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

List of Maps backed form in Struts 1  RSS feed

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi..

In my struts form I have a property List<Map<MyObject, List<MyAnotherObject>>> prop.
While loading the form I'm populating this List and I'm able to reach all properties and I'm printing those.

But If I edit those values in the form (basically displaying in text field and editable fields are in 'key' of map i.e List<MyAnotherObject>) and submit it,
those values are not setting into form.

Can some one help please.. I have given simple setProp(List<...> arg) and List<..>getProp() method in the form.
 
Story like this gets better after being told a few times. Or maybe it's just a tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!