Hi!

I tried your advice, but with no solution to my problem..

I problem is when writing the paginated list to the jsp, not in the JAVA code.

 

Thanks!

 

From: Jon Moores [mailto:jonathan.moo...@gmail.com] 
Sent: Friday, July 24, 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 that takes the id field

 

you should simply be able to do:

 

productList.remove(new ProductData(workingItemId));

 

no need to iterate.

Thanks

Jon




************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer 
viruses.
************************************************************************************

Reply via email to