Hi all,
I am tring to access the vlaues that are associated with the checkboxes which are dynamically generatd. The code in the
JSP is as follows
<logic:iterate id="array" name="DATA">
<tr>
<bean:write name="array" property="docNumber" /></td>
<bean:write name="array" property="docclassid" /></td>
<bean:write name="array" property="docid" /></td>
<html:checkbox name="documentVerificationForm"
property="checkBox"
value=" ??? ">
</html:checkbox>
</td>
</tr>
</logic:iterate>
wheere "documentVerificationForm" is the name of the form "DocumentVerificationForm" in
struts config
DATA is an ArrayList and is stoired in request scope and in this arraylist I am stoiring multiple instance of the form bean(documentVerificationForm). Now I want to link the value of the variable docNumber with the text box and access all those docNumber in action class using the code
String docIds [] = request.getParameterValues(???)
so can anybody plzzzz tell me what should be the valus at "?"
Thanks in advance
Samir
