Dear all,
I have a code where in a user can update mutliple rows of the html combox (selected using checkbox ) in
jsp and send to the
servlet action class.
<logic:iterate id="srData" name="dataList" indexId="srNo" >
<%i=i+1;%>
<td ><html:text name="srData" property="aaa" readonly="true"/></td>
<td ><html:text name="srData" property="bbb" readonly="true"/></td>
<td ><html:select name="srData<%=i%>" property="status" styleClass="combobox_medium" styleId="dataComboFormat">
<option value="<bean:write name="srData" property="statusCode"/>"> <bean:write name="srData" property="status"/> </option>
<html:optionsCollection name="srData" property="updtStatusList" />
</html:select>
<td><input type="checkbox" name="updateStatus" />
the user should be able to select the status from the dropdown and update . How will the selected status get updated on runtime ? Can any one guide on this ?