Re: Token Session Interceptor and back button

2013-12-06 Thread Miguel Almeida
Paul, I was thinking about this example...what did you have in mind as a way to achieve that, tough, i.e., that a browser back refreshes the page? I can only see some javascript method/hack for that. Were you thinking of something else? Miguel On Thu, 2013-12-05 at 14:59 -0600, Paul Benedict

param interceptor is not working fine if list contain more than 10 items?

2013-12-06 Thread Mohit Gupta
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

Fwd: param interceptor is not working fine if list contain more than 10 items?

2013-12-06 Thread Mohit Gupta
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

Re: param interceptor is not working fine if list contain more than 10 items?

2013-12-06 Thread Dave Newton
How is the property defined in the action? On Fri, Dec 6, 2013 at 11:35 AM, Mohit Gupta motgu...@gmail.com wrote: 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

Re: param interceptor is not working fine if list contain more than 10 items?

2013-12-06 Thread Mohit Gupta
Dave. Here is brief about action class *CustomerOrderAction contains * private Customer customer; // getters and setters * Customer contains* private ListShopItem orders = new ArrayListShopItem(); * ShopItem contains* public int item = -1; // getters and setters On

Re: Token Session Interceptor and back button

2013-12-06 Thread Paul Benedict
You need to have browser caching disabled on your first page: response.setHeader(Cache-Control, no-cache, no-store, must-revalidate); // HTTP 1.1 response.setHeader(Pragma, no-cache); // HTTP 1.0 response.setDateHeader(Expires, 0); // Proxies On Fri, Dec 6, 2013 at 5:03 AM, Miguel Almeida

Re: param interceptor is not working fine if list contain more than 10 items?

2013-12-06 Thread Mohit Gupta
Guys any suggestion/ideas.Really ,I am not getting whats going on here. On Fri, Dec 6, 2013 at 10:21 PM, Mohit Gupta motgu...@gmail.com wrote: Dave. Here is brief about action class *CustomerOrderAction contains * private Customer customer; // getters and setters * Customer contains*