Re: problem with removing item from a paginated list

2009-07-24 Thread Jon Moores
Hi, I dont think you should be removing from the list while iterating at the same time. Create a separate list (deleteProductList) and replace the productList.remove() call with deleteProductList.add(tmpData). After you finish iterating productList iterate over deleteProductList calling the

RE: problem with removing item from a paginated list

2009-07-24 Thread Odelya YomTov
: problem with removing item from a paginated list Also on the assumptions thats = your ProductData class implements the equality and hashcode methods = those methods use your 'id' field = You have a ProductData constructor that takes the id field you should simply be able to do

Re: problem with removing item from a paginated list

2009-07-24 Thread Brandon Goodin
, 2009 1:59 PM *To:* user-java@ibatis.apache.org *Subject:* Re: problem with removing item from a paginated list Also on the assumptions thats = your ProductData class implements the equality and hashcode methods = those methods use your 'id' field = You have a ProductData constructor