Hello, 

I'm having problems with using a pageable view and ajax. In the application
the user can add his favorite to a list of favorites. The list has 20
favorites on 1 page. When the user inserts his 21th favorite, the dataview
should show page 2 instead of page 1, showing the new favorite to the user
(which is added at the bottom of the list). 
When handling the ajax request, dataView.getPageCount() returns me 1 instead
of 2, so i can't set the currentpage of the dataview to 2.
After looking into it, the dataView.getRowCount() is the one causing
problems, because it returns the cached rowcount. 
Is there any solution to it? Or can you guys make clearCachedItemCount
public?

Thanks !
-- 
View this message in context: 
http://www.nabble.com/DataView-clearCachedItemCount-tf4849581.html#a13875535
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to