Hello, Working on it for a while but couldn't find a solution. In my action I need the following Map:
Map<String, List<MyBean>> myList; ... where the class MyBean is something like: class MyBean { private Long id; private String name; // + appropriate getters/setters } What I'd like is setting each value back through some <s:textfield /> using the particular OGNL as described here: http://struts.apache.org/2.x/docs/type-conversion.html For generating all the appropriate <s:textfield /> I have two nested iterators; first one for the Map, second one for the List. But how do I do with my OGNL expressions to be put in the value="" attribute of the text fields. I'm guessing it's something like: myList['mapKey'](beanId) but I could not find how to configure it properly because it seems there's a conflict between how to declare the Map conversion & how to declare the pseudo-collection index for a single myList[...] value # conf. for the Map Key_myList=String Element_myList=java.util.Map CreateIfNull_myList=true # conf. for the Map...??? how to indicate here it's a value in the map, not the map itself!!? KeyProperty_myList=id Element_myList=com.mycompany.somepackage.www.bean.MyBean CreateIfNull_myList=true Thanks for your help! Maxx --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]