Hi,
I am trying to migrate my application to the
current version of wicket.
When i run the application i am getting a markup
exception
wicket.markup.MarkupException: The component [MarkupContainer [Component
id = flightSearchResultValidation, page =
com.xmltravel.fab1.wicket.flights.FlightSearchResultPage, path =
4:flightSearchResultValidation._javascript_Reference, isVisible = true,
isVersioned = true]] has the same wicket:id as another component already added
at the same level.
My code is still workig
perfectly in the old version and i have not changed any thing in my java code as
well as in the mark up. As far as i can see i am adding the _javascript_Reference
only once.
Can anyone throw some
light into this.
Has it got to do with
the version of the Wicket i grabbed from CVS.
Thanks
Dipu
Below is the full
stack trace if it helps
Root cause: wicket.markup.MarkupException: The component [MarkupContainer [Component id = flightSearchResultValidation, page = com.xmltravel.fab1.wicket.flights.FlightSearchResultPage, path = 4:flightSearchResultValidation._javascript_Reference, isVisible = true, isVersioned = true]] has the same wicket:id as another component already added at the same level at wicket.Page.componentRendered(Page.java:924) at wicket.Component.rendered(Component.java:1668) at wicket.Component.render(Component.java:1522) at wicket.MarkupContainer.renderNext(MarkupContainer.java:1224) at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:893) at wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:813) at wicket.markup.html.internal.HtmlHeaderContainer.onComponentTagBody(HtmlHeaderContainer.java:111) at wicket.Component.renderComponent(Component.java:1605) at wicket.MarkupContainer.onRender(MarkupContainer.java:823) at wicket.Component.render(Component.java:1519) at wicket.Component.render(Component.java:1488) at wicket.MarkupContainer.autoAdd(MarkupContainer.java:181) at wicket.markup.resolver.HtmlHeaderResolver.resolve(HtmlHeaderResolver.java:75) at wicket.MarkupContainer.renderNext(MarkupContainer.java:1251) at wicket.MarkupContainer.renderAll(MarkupContainer.java:840) at wicket.Page.onRender(Page.java:848) at wicket.Component.render(Component.java:1519) at wicket.Page.doRender(Page.java:390) at wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:148) at wicket.request.target.component.PageRequestTarget.respond(PageRequestTarget.java:60) at wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:49) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:66) at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:824) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:851) at wicket.RequestCycle.step(RequestCycle.java:931) at wicket.RequestCycle.steps(RequestCycle.java:1005) at wicket.RequestCycle.request(RequestCycle.java:451) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:208) at wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:246) at javax.servlet.http.HttpServlet.service(HttpServlet.java:616) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) 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:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) 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)
|