Re: AjaxPagingNavigator does not scroll to top

2012-03-29 Thread Andre Schütz
Thank you for the answer. Works perfectly. On Fri, 23 Mar 2012 15:18:22 +0200 Martin Grigorov mgrigo...@apache.org wrote: Hi, Yes, it is normal. This is left to the application to decide whether it wants to scroll or not. You can use ajaxRequestTarget.appendJavaScript(scrollTo(0. 0)) to

AjaxPagingNavigator does not scroll to top

2012-03-23 Thread wicket
Hello, I use an AjaxPagingNavigator for clicking through my results. I have a list and the AjaxPagingNavigator below it. When I click on the AjaxPagingNavigator, the next results are displayed but the scrollbar of the browser stays at the bottom of the page. Is that a normal behavior? Can I

Re: AjaxPagingNavigator does not scroll to top

2012-03-23 Thread Martin Grigorov
Hi, Yes, it is normal. This is left to the application to decide whether it wants to scroll or not. You can use ajaxRequestTarget.appendJavaScript(scrollTo(0. 0)) to accomplish that. On Fri, Mar 23, 2012 at 3:13 PM, wic...@faustas.de wrote: Hello, I use an AjaxPagingNavigator for clicking