A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
List of Maps backed form in Struts 1
Joined: Jul 21, 2010
Nov 25, 2011 00:02:01
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.
It is sorta covered in the
JavaRanch Style Guide
subject: List of Maps backed form in Struts 1
Advantages of JSF over struts..
Struts 1 - Multibox Question
help on html: options
request scoped form
Using Maps - Struts 1
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014