Hello, I'm trying to assign html:multibox to a map object into my ActionForm. But it doesn't work, when I select multiple value only the first one is assign to the related map key. I only get a String object assign to my key instead of the expected String[].
Here is a sample of my jsp page and my ActionForm: <html:multibox property="option(parameter)" value="value1" /> <html:multibox property="option(parameter)" value="value2" /> <html:multibox property="option(parameter)" value="value3" /> <html:multibox property="option(parameter)" value="value4" /> private Map options = new HashMap(); public Map getOptions() { return this.options; } public void setOptions(Map options) { this.options = options; } public Object getOption(String key) { return getOptions().get(key); } public void setOption(String key, Object value) { getOptions().put(key, value); } I know there is a reopened bug on struts bugzilla related to this (http://issues.apache.org/bugzilla/show_bug.cgi?id=21679) but I would like to know if someone have a workaround. I'm using Struts 1.2.7 with JDK 1.4.2 Thanks, Jean-François Bourgon Centre d'information topographique / Centre for Topographic Information Ressources naturelles Canada / Natural Resources Canada 2144, rue King Ouest, bureau 010 / 2144, King Street West, suite 010 Sherbrooke (Québec) J1J 2E8 / Sherbrooke (Quebec) J1J 2E8 Tel : (819) 564-5600, poste / ext. 282 Fax : (819) 564-5698 [EMAIL PROTECTED]