Using setVersioned(false) for some components seems to
help but I do not get the results that I would expect. At
least I do not get stack traces (sometimes get internal
error page though).
Paul
On Tue, 19 Apr 2005 14:58:12 -0400
<[EMAIL PROTECTED]> wrote:
In a previous message I mentioned a problem with the
back button and the examples I should have mentioned that
it was the displaytag paging and sorting examples. If
you click on the last page (2) for the (paging + sorting
+ grouping + exporting working together example) and then
click on the back button of the browser and then click
next in the example you will get an exception.
Now for my real question. I have been working on a page
that can display one of a number of panels depending on
what link was clicked (the links link back to the same
page just the panel changes similar to the wizard message
posted recently). I was controlling the panels using
setVisible() from the links onClick() method and it was
working ok but thought it would be better to use
replace() to control the panels. Now it works until I
use the back button of the browser and after that when I
click on the links I get the exception shown below.
This happens with rc1 and rc2.
I am new to wicket so any advice or hints would be
appreciated.
Best regards,
Paul
java.lang.IllegalArgumentException: A child with id
'ProductsPanel' already exists:
[Page class = pe.view.Main, id = 1]
at
wicket.MarkupContainer.add(MarkupContainer.java:148)
at wicket.version.undo.Remove.undo(Remove.java:41)
at
wicket.version.undo.ChangeList.undo(ChangeList.java:60)
at
wicket.version.undo.UndoPageVersionManager.undo(UndoPageVersionManager.java:178)
at
wicket.version.undo.UndoPageVersionManager.getVersion(UndoPageVersionManager.java:145)
at wicket.Page.getVersion(Page.java:315)
at wicket.Session.getPage(Session.java:274)
at
wicket.protocol.http.WebRequestCycle.callComponentListener(WebRequestCycle.java:217)
at
wicket.protocol.http.WebRequestCycle.parseRequest(WebRequestCycle.java:118)
at
wicket.RequestCycle.request(RequestCycle.java:357)
at
wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:165)
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:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
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:738)
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:534)
-------------------------------------------------------
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
-------------------------------------------------------
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