Hi,

I have a list of line items displayed in a JSP where some of the 
attributes can be edited. I would like to capture the updated data by 
the user to return it to my Action class so I can modify my model 
accordingly.

Here is my JSP code:

<form action="updateOrder.do" method="post">
  <input type="hidden" name="action" value="updateOrder">
  <logic:iterate id="orderDetail" type="OrderDetailModel"
                 collection="<%= orderDetailList %>">
   <td><html:text name="orderDetail" property="quantityShipped"/></td>
  </logic:iterate>
  <input type="submit" value"Update Order">
</form>

I know my ActionForm class has to have a property called 
orderDetailList. But the question is, how will the correct index be 
updated since my list can contain many OrderDetailModel's? Should I 
add a method in my ActionForm class like getOrderDetailList.get
(index)? Help!!!


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

Reply via email to