I'm creating checkboxes like this:

<html:checkbox property="abc" value="x">x</html:checkbox>
<html:checkbox property="abc" value="y">y</html:checkbox>
<html:checkbox property="abc" value="z">z</html:checkbox>

I define it in my form (DynaForm) like this:

<form-property name="abc" type="java.lang.String[]" />

This submits to the server fine, all the checkboxes have their value set in
the array.  However, when reloading the page with the form in the session,
the checkboxes don't get set.  All my other controls get set from the values
in the form, but struts doesn't understand the array of values to set the
checkboxes.  Is there some trick to doing this?  Am I going to have to give
each checkbox its own property to get it to set on page load? I know this
would work, but I'd rather keep in array if possible.

Darrel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to