Hi,

        I have a page that lists a set of DB records and I am giving the user the 
ability to edit any number of these records and do a multiple update by using 
checkboxes to signify what rows have been modified.  I am using a session-scoped form 
that has a List of Map-backed Forms with each row from the DB represented by a 
separate Map with a field by the name of "selected".  My data is displayed on the page 
correctly but for some reason the form is not being populated when rows are checked.  
I have implemented the reset method to set all the checkboxes to false.  Any ideas 
would be appreciated because I am banging my head against the wall:

JSP:

                <c:forEach items="${TaxCmpDef.values}" var="rows" varStatus="status">
                  <tr>
                              <td> <html:text indexed="true" readonly="true" 
name="rows" property="value(taxCmpId)"/> </td>
                              <td> <html:text size="12" styleClass="its" 
indexed="true" name="rows" property="value(taxCmpCd)"/> </td>
                              <td> <html:text styleClass="its" indexed="true" 
name="rows" property="value(taxCmpDsc)"/> </td>
                              <td> <html:text size="1" styleClass="its" indexed="true" 
name="rows" property="value(masterCmpInd)"/> </td>
                              <td> <html:checkbox styleClass="its" indexed="true" 
name="rows" property="value(selected)"/> </td>
                           </tr>
                        </c:forEach>

Thanks,
Jeremy

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

Reply via email to