You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by "elvis.ciocoiu" <el...@synthesys.ro> on 2012/05/30 14:41:25 UTC

changing the page in inmethod grid

Hello,

I'm trying set the current page number in a DataGrid to the last one but
don't know how to clear the cachedPageCount in AbstractPageableView. In my
scenario after creating a new entity I want to select it and change the page
of the grid to the page where this element exists. It works the page of this
new element is not a new one (the grid caches the number of pages in
cachedPageCount and clears this variable only in onBeforeRender() ). I need
to force a reload in the same request and after that to set the current page
to the last one ... how can I do it? 
Thanks



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/changing-the-page-in-inmethod-grid-tp4649581.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org