You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rajesh Khater <ra...@wipro.com> on 2003/04/25 12:24:11 UTC

Multidimensial array in formbean

Hi,

In my form bean, if I have a 2-dimensial array of Strings, each value representing a checkbox state "on/off", can Struts automatically set the state of checkboxes (selected or deselected) and also, can it populate the 2-D array in the formbean depending on the checkbox state ?

How will I write the html:checkbox in such a case ?  Like:

	<html:checkbox property="arrCheckBoxes[0][1]" value="selected"/>

Will the above work ??

Regards,
Rajesh.

**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org