HashMap< String, ArrayList >: Unable to populate the Array List from JSP

2008-05-12 Thread ravi_eze
Team, any help??? now i configured the validation, workflow interceptors in my xml file. I see an error for this field variable. I tried configuring the converter... but as always its also failing... < actionclass>-conversion.properties: mapOfList=com.company.CustomMapConverter Element_mapOfL

Re: HashMap< String, ArrayList >: Unable to populate the Array List from JSP

2008-05-08 Thread ravi_eze
hi, Thanks for he help. i am using as follows: < s:checkboxlist name="mapOfList['key']" /> I see that this is not working and the mapOfList is not getting populated at all. I tried out StrutsTypeConverter... then only convertToString() method is being called. Any ideas as how to go with this is

Re: HashMap< String, ArrayList >: Unable to populate the Array List from JSP

2008-04-29 Thread Wes Wannemacher
Assuming you have appropriate getters and setters on your action for the HashMap of ArrayLists, you should be able to set them using indexing like this - or (where "i" is an integer representing the index where you want the String set) http://www.ognl.org/2.6.9/Documentation/html/LanguageGui

HashMap< String, ArrayList >: Unable to populate the Array List from JSP

2008-04-29 Thread ravi_eze
hi, When we had the data structure as: HashMap the following jsp fragment was able to populate it: but the same thing is not working with HashMap > when we tried: (); mapOfList.put("key", new ArrayList()); still no luck Using POJOs instead of hashmap would not fit to my requirements. any