I think you need to implement the AjaxPagingNavigator#onAjaxEvent method and
add the currentPage component on target.

On Tue, Nov 9, 2010 at 4:20 PM, vp143 <vishal.po...@cipriati.co.uk> wrote:

> Thank you both for your responses- I totally forgot about it being dynamic.
> However, I have tried both code snippets above but still no luck.
> I printed the current page within the load() method which prints 0 only on
> first load. No message is printed when the page numbers from
> AjaxPagingNavigator are clicked on.
> Any thoughts?
> Vishal
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Cannot-get-current-page-from-AjaxPagingNavigator-tp3034524p3034840.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

Pedro Henrique Oliveira dos Santos

Reply via email to