I am working on a new result-type and I want to put a field on the result like this -
List<Map<String,String>> blah... I looked a bit at the HttpHeadersResult because it has an incoming HashMap<String,String> as one of the fields and you can set it via OGNL using <param name="header.a">blah</param> and 'a' becomes the key and 'blah' becomes the value. It seems like OGNL finds a method called addHeader(String,String) to do it... Is there a way to do the same sort of thing, but to push the map data into a list? If memory serves, collections have to be instantiated, and that seems to be my stopping point. I know I read about this somewhere, but I can't find it, and ognl.org has disappeared from the 'net. BTW, I'm using xwork 2.1.4, but will upgrade if Musachy's recent changes can help me. -Wes -- Wes Wannemacher Head Engineer, WanTii, Inc. Need Training? Struts, Spring, Maven, Tomcat... Ask me for a quote! --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org