Hello everbody,

I'm faciong the following problem. In my OrderForm I have got a list with
order items: private List<OrderItemViewDTO> wrappedOrderItemList = new
ArrayList<OrderItemViewDTO>();

Now I have got a jsp with a list of all order items. I iterate over the list
to display the values:
<logic:iterate name="cancelSingleOrderForm" id="orderItem"
property="wrappedOrderItemList" indexId="index">

Now I need a textfield where the user can enter the newQuantity for each
item. My problem is to write back the values. I tried to put the values
directly in the bean which I get in every iteration like this:
<html:text name="orderItem" property="newQuantity"> It doesn't work.

Next try was to implement a String array in the OrderForm to capture the
values there:
String[] quantities = null;

and in the iteration in the jsp:
<html:text name="cancelSingleOrderForm" property="newQuantity"
indexed="true" styleClass="FIELDInputText" size="2"> but it doesn't work
either. I read the following post
http://www.jguru.com/faq/view.jsp?EID=915898 but I still don't know the
solution.
-- 
View this message in context: 
http://www.nabble.com/capture-multiple-parameters-tf3921557.html#a11119517
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to