Philip, To be fair, I think the problem has more to do with my ignorance of Wicket than a problem with the error message. I'm a new user, but am getting better. The error message did give me an idea of what was going on; the message in the mailing list just gave me a concrete way to fix it.
Thanks, Juergen Donnerstag wrote: > yes I agree, it seems to be a common problem for people migrating from > 1.0 to 1.1, which is why the exception message is like > > "If the root exception says something like "A child with id '_header' > already exists" then you most likely forgot to override autoAdd() in > your bordered page component." > > May be it is my english. How can it be more clear what the error is > and what to do about it. Any suggestions for re-phrasing it? > > Juergen > > On 8/5/05, Jesse Sightler <[EMAIL PROTECTED]> wrote: > >>Should the exception perhaps include a message letting people know about >>this potential pitfall? >> >> Seems like a common problem... >> >> >>On 8/3/05, Philip A. Chapman <[EMAIL PROTECTED]> wrote: >> >>>To anyone that comes across the same problem, I found the solution here: >>> >>> >> >>http://sourceforge.net/mailarchive/message.php?msg_id=12398585 >> >>>Thanks, >>> >>>Philip A. Chapman wrote: >>> >>>>Everyone, >>>> >>>>I have been using Wicket 1.0.1. The application worked fine using >>>>Firefox. However, I ran across the infinite loop bug when using >>>>RedirectPage and IE. I upgraded to 1.1.b2 hoping that it had been >>>>fixed. After upgradeing, however, on a page that I have that uses the >>>>PageableListView and PageableListViewNavigator, I get the following >> >>error: >> >>>>Any help I can get would be appreciated. >>>> >>>>wicket.WicketRuntimeException: If the root exception says something like >>>>"A child with id '_header' already exists" then you most likely forgot >>>>to override autoAdd() in your bordered page component. >>>> at >>>> >> >>wicket.markup.html.HtmlHeaderResolver.resolve(HtmlHeaderResolver.java:82) >> >>>> at >> >>wicket.MarkupContainer.renderNext(MarkupContainer.java >>:885) >> >>>> at >> >>wicket.MarkupContainer.renderAll(MarkupContainer.java:779) >> >>>> at wicket.Page.onRender(Page.java:752) >>>> at wicket.Component.render(Component.java:1074) >>>> at wicket.Page.doRender (Page.java:480) >>>> at wicket.RequestCycle.respond(RequestCycle.java:782) >>>> at wicket.RequestCycle.request(RequestCycle.java:406) >>>> at >> >>wicket.protocol.http.WicketServlet.doGet(WicketServlet.java >>:304) >> >>>> 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.apache.catalina.core.StandardWrapperValve.invoke >> >>(StandardWrapperValve.java:213) >> >>>> 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:856) >> >>>> at >>>> >> >>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection >>(Http11Protocol.java:744) >> >>>> at >>>> >> >>org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) >> >>>> 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.IllegalArgumentException: A child >> >>with id '_header' >> >>>>already exists: >>>>[MarkupContainer [Component id = border, page = >>>>com.alliancemanaged.simis.web.ClientsListing, path = >>>>6:border.SIMISApplicationBorder, isVisible = true, isVersioned = true]] >>>> at wicket.MarkupContainer.add(MarkupContainer.java:138) >>>> at >>>> >> >>com.alliancemanaged.simis.web.AuthenticatedWebPage.add(AuthenticatedWebPage.java:50) >> >>>> at wicket.MarkupContainer.autoAdd (MarkupContainer.java:171) >>>> at >>>> >> >>wicket.markup.html.HtmlHeaderResolver.resolve(HtmlHeaderResolver.java:78) >> >>>> ... 24 more >>>> >>>>Thanks, >>> >>> >>>-- >>>Philip A. Chapman >>> >>>Application Development: >>>Java, Visual Basic (MCP), PostgreSQL, MySQL, MSSQL >>>Linux, Windows 9x, Windows NT, Windows 2000, Windows XP >>> >>> >>> >> >> > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user -- Philip A. Chapman Application Development: Java, Visual Basic (MCP), PostgreSQL, MySQL, MSSQL Linux, Windows 9x, Windows NT, Windows 2000, Windows XP
signature.asc
Description: OpenPGP digital signature