aspose file tools *
The moose likes Struts and the fly likes List of Maps backed form in Struts 1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "List of Maps backed form in Struts 1" Watch "List of Maps backed form in Struts 1" New topic
Author

List of Maps backed form in Struts 1

Jayavardhan geepi
Ranch Hand

Joined: Jul 21, 2010
Posts: 66
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.
 
 
subject: List of Maps backed form in Struts 1