Hi,
I have a form with a multiple select box.
class myForm1 extends ActionForm {
String[] getFields() { ...}
void setFields(String[] fields )
...
}
<html:select property="fields" multiple="1" size="3">
<html:options collection="list" property="value"
labelProperty="label"/>
</html:select>
When I submit the form and validate() return null, it forwards to an
other view of the same form where I would like to store this property in
a hidden field.
And HTML output is:
<input type="hidden" name="fields" value="[Ljava.lang.String;@1765ae">
How can I tell struts to store it in a "String" format?
Thanks for help.
--
C. Bouessay
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>