Well, reading your post a second time around... If you really want to add a record and then paginate to the page that contains it, you'd have to re-run your SQL right?
I think it would make more sence to KISS it. Change your DataProvider by re-running the SQL and provide the record ID (primary key, hash or something unique to your new saved record) then add a new constructor for your table or DataProvider to handle the pagination by looking through your collection for the element with that unique ID page by page or by implementing the pagination in SQL (search with the record ID given your fileters and sort order and forward your cursor to the page that contains your record). Mersi mult, si chiar am nevoie mare :) ----- ~ Thank you, p...@bors.ws -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/inmethod-grid-cachedPageCount-tp4656739p4656875.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org