You may already be aware of this but there is a problem with MyPageableListViewNavigator.java and the back button. If you click next and then use the back button and click next again you will get an exception. I am not sure what version the examples online use but I know it happens in rc2 as well.
I would also like to say I have been trying wicket for a few days and really like it.
Below is the stack trace.
Paul
wicket.WicketRuntimeException: Method public abstract void wicket.markup.html.link.ILinkListener.onLinkClicked() of interface ILinkListener threw an exception at wicket.protocol.http.WebRequestCycle.invokeInterface(WebRequestCycle.java:284) at wicket.protocol.http.WebRequestCycle.invokeInterface(WebRequestCycle.java:309) at wicket.protocol.http.WebRequestCycle.callComponentListener(WebRequestCycle.java:223) at wicket.protocol.http.WebRequestCycle.parseRequest(WebRequestCycle.java:118) at wicket.RequestCycle.request(RequestCycle.java:358) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:185) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at wicket.protocol.http.WebRequestCycle.invokeInterface(WebRequestCycle.java:275) ... 21 moreCaused by: java.lang.IllegalArgumentException: Cannot set current page to 2 because this pageable list view only has 2 pages at wicket.markup.html.list.PageableListView.setCurrentPage(PageableListView.java:139) at wicket.markup.html.list.PageableListViewNavigationIncrementLink$1.getPage(PageableListViewNavigationIncrementLink.java:82) at wicket.markup.html.link.PageLink.onClick(PageLink.java:109) at wicket.markup.html.list.PageableListViewNavigationIncrementLink.onClick(PageableListViewNavigationIncrementLink.java:110) at wicket.markup.html.link.Link.onLinkClicked(Link.java:186) ... 25 more
------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
