The overview of my goal is to replace "<< < 1 2 3 4 > >>" with "prev next". I can't see how it can be done through subclassing, so I'm rolling my own Panel, similar to PagingNavigator (but with a new template).
I'm trying to get AJAX pagination working, and I have--without custom stuff. If I use AjaxPagingNavigator, everything works fine: <pre> public Home() { PageableListView topDogs = new SongListView("topDogs", dogs, 10); WebMarkupContainer container = new WebMarkupContainer("topDogsBlock"); container.setOutputMarkupId(true); container.add(topDogs); container.add(new AjaxPagingNavigator("pager", topDogs)); //Add container to main page add(container); } </pre> Now, the weird thing is, if I copy the source code from AjaxPagingNavigator, create a new class in my own source tree, and use that completely identical class (except for package), it does NOT work. I have to click links twice, and it refreshes the whole page. The Wicket AJAX debugger says some error 500 or some such. Do I have to register behavior with custom classes or what? Line for line, it's the same code, but one works, the other does not. There has to be something I'm missing. -- View this message in context: http://www.nabble.com/AjaxPagingNavigator-doesn%27t-work-as-%22custom%22-class-tf3760248.html#a10628431 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user