Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0 branch (discontinued)
-
None
Description
In wicket examples, when I go to the simple tree page
http://localhost:8080/we/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.tree.SimpleTreePage
and after that go to the tree table page
http://localhost:8080/we/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.tree.TreeTablePage
I get this exception
WicketMessage: The component [MarkupContainer [Component id = <auto>-_autolink_2, page = wicket.examples.ajax.builtin.tree.TreeTablePage, path = 2:<auto>-<body>:<auto>-<auto>-child1:<auto>-<auto>-extend2:<auto>-_link_1:<auto>-_autolink_2.AutoLinkResolver$AutolinkBookmarkablePageLink, isVisible = true, isVersioned = true]] has the same wicket:id as another component already rendered at the same level
Root cause:
wicket.markup.MarkupException: The component [MarkupContainer [Component id = <auto>-_autolink_2, page = wicket.examples.ajax.builtin.tree.TreeTablePage, path = 2:<auto>-<body>:<auto>-<auto>-child1:<auto>-<auto>-extend2:<auto>-_link_1:<auto>-_autolink_2.AutoLinkResolver$AutolinkBookmarkablePageLink, isVisible = true, isVersioned = true]] has the same wicket:id as another component already rendered at the same level
at wicket.DebugHelper.onBeginComponentRender(DebugHelper.java:69)
at wicket.Page.componentRendered(Page.java:347)
at wicket.Component.rendered(Component.java:2021)
at wicket.Component.render(Component.java:1736)
at wicket.MarkupContainer.renderNext(MarkupContainer.java:1380)
at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:974)
at wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:908)
at wicket.Component.renderComponent(Component.java:1968)
at wicket.MarkupContainer.onRender(MarkupContainer.java:919)
at wicket.Component.render(Component.java:1724)
at wicket.markup.resolver.WicketLinkResolver.resolve(WicketLinkResolver.java:74)
at wicket.MarkupContainer.renderNext(MarkupContainer.java:1405)
at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:974)
at wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:908)
at wicket.Component.renderComponent(Component.java:1968)
at wicket.MarkupContainer.onRender(MarkupContainer.java:919)
at wicket.Component.render(Component.java:1724)
at wicket.markup.resolver.MarkupInheritanceResolver.resolve(MarkupInheritanceResolver.java:61)
at wicket.MarkupContainer.renderNext(MarkupContainer.java:1405)
at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:974)
at wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:908)
at wicket.Component.renderComponent(Component.java:1968)
at wicket.MarkupContainer.onRender(MarkupContainer.java:919)
at wicket.Component.render(Component.java:1724)
at wicket.markup.resolver.MarkupInheritanceResolver.resolve(MarkupInheritanceResolver.java:61)
at wicket.MarkupContainer.renderNext(MarkupContainer.java:1405)
at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:974)
at wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:908)
at wicket.Component.renderComponent(Component.java:1968)
at wicket.MarkupContainer.onRender(MarkupContainer.java:919)
at wicket.Component.render(Component.java:1724)
at wicket.MarkupContainer.renderNext(MarkupContainer.java:1380)
at wicket.MarkupContainer.renderAll(MarkupContainer.java:936)
at wicket.Page.onRender(Page.java:1046)
at wicket.Component.render(Component.java:1724)
at wicket.Component.render(Component.java:1678)
at wicket.Page.renderPage(Page.java:1169)
at wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:229)
at wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:53)
at wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:65)
at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:944)
at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:973)
at wicket.RequestCycle.step(RequestCycle.java:1054)
at wicket.RequestCycle.steps(RequestCycle.java:1125)
at wicket.RequestCycle.request(RequestCycle.java:470)
at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:232)
at wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:122)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)