[prev in list] [next in list] [prev in thread] [next in thread]
List: struts-user
Subject: Fwd: param interceptor is not working fine if list contain more than 10 items?
From: Mohit Gupta <motgupta () gmail ! com>
Date: 2013-12-06 16:47:55
Message-ID: CAE_TDVi5+=mQa7iKX5U9AY+7GEBg7c-Na6VFhS8URZvkiwzLcA () mail ! gmail ! com
[Download RAW message or body]
correcting typo errors in my previous post
I have customerAtction which customer dataObject. Customer data object
contains arraylist of orders.
If I have 10 order placed from ui then struts 2 works fine and i get 10
orders populated in my customer object
<input type='hidden' name ='customer.orders[0].item' value ='someItem'/>//
First item
to
<input type='hidden' name ='customer.orders[9].item' value
='someItem'/>// Tenth item
But if i have 11 items i cet customer object with 11 orders with first and
last order correctly filled but inbetween 9 orders are not correctly
filled. In between 9 values are filled as null object
<input type='hidden' name ='customer.orders[0].item' value
='someItem'/>// First item
to
<input type='hidden' name ='customer.orders[10].item' value
='someItem'/>// eleventh item
Some how param interceptor is not working fine for more than 10 items. I
am not sure what i am missing here?
---------- Forwarded message ----------
From: Mohit Gupta <motgupta@gmail.com>
Date: Fri, Dec 6, 2013 at 9:34 PM
Subject: param interceptor is not working fine if list contain more than 10
items?
To: Struts Users Mailing List <user@struts.apache.org>
I have customerAtction which customer dataObject. Customer data object
contains arraylist of orders.
If I have 10 order placed from ui then struts 2 works fine and i get 10
orders populated in my customer object
<input type='hidden' name ='customer.orders[0].item' value ='someItem'/>//
First item
to
<input type='hidden' name ='customer.orders[9].item' value
='someItem'/>// Tenth item
But if i have 11 items i cet customer object with 11 orders with first and
last order correctly filled but inbetween 9 orders are correctly filled
<input type='hidden' name ='customer.orders[0].item' value
='someItem'/>// First item
to
<input type='hidden' name ='customer.orders[10].item' value
='someItem'/>// Tenth item
Some how param interceptor is not working fine for more than 10 items. I
am not sure what i am missing here?
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic