C
cc
Hi,
I have a problem with this HTML:SELECT:
<html:select property="beanCollectionSelect" size="10" multiple="true">
<htmlptionsCollection name="testbean" property="beanCollection"/>
</html:select>
I fill up the select with this javascript:
<SCRIPT LANGUAGE="JavaScript">
function test()
{
var sel=document.forms[0].beanCollection;
var option = document.createElement("OPTION");
option.value = "1";
option.text = "new value";
sel.add(option);
}
</SCRIPT>
I execute the submit() function bad myActionForm object not contain new
element.
Is it a bug of Struts ?
Is it a bug of my program ?
Bye,
Carlo
I have a problem with this HTML:SELECT:
<html:select property="beanCollectionSelect" size="10" multiple="true">
<htmlptionsCollection name="testbean" property="beanCollection"/>
</html:select>
I fill up the select with this javascript:
<SCRIPT LANGUAGE="JavaScript">
function test()
{
var sel=document.forms[0].beanCollection;
var option = document.createElement("OPTION");
option.value = "1";
option.text = "new value";
sel.add(option);
}
</SCRIPT>
I execute the submit() function bad myActionForm object not contain new
element.
Is it a bug of Struts ?
Is it a bug of my program ?
Bye,
Carlo