Re: Map backed Struts Action Form and multiple select values issue

2011-08-16 Thread manishkashyap09
use the following getter and setter public void setValues(String key, Object[] value) { values.put(key, value); } public Object[] getValues(String key) { return values.get(key); } it works for me. -- View this message in context: http://struts.1045723.n5.nabble.com/Map-backed-S

Re: Map backed Struts Action Form and multiple select values issue

2008-02-22 Thread MoorthyHome.com
More details to my previous posting... I am building an app with Struts 1.x, which is dynamically rendered at runtime to create html form elements. Because of the applications dynamic nature, I am using map backed struts action form to dynamically capture the values in a HashMap. Unfortunately,