Bugs item #1443311, was opened at 2006-03-05 04:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1443311&group_id=119783
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Eelco Hillenius (eelco12)
Assigned to: Nobody/Anonymous (nobody)
Summary: name conflict with header contributions
Initial Comment:
Say I have panel X, which I give component id "foo",
and that panel has a header contribution which has id
"foo" too, it will conflict and give an error message like:
Unexpected RuntimeException
Root cause:
wicket.markup.MarkupException: The component
[MarkupContainer [Component id = slider, page =
wicket.examples.yui.SliderPage, path =
16:slider.Slider, isVisible = true, isVersioned =
true]] has the same wicket:id as another component
already added at the same level
at wicket.Page.componentRendered(Page.java:922)
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.Component.renderComponent(Component.java:1605)
at
wicket.MarkupContainer.onRender(MarkupContainer.java:823)
at wicket.Component.render(Component.java:1519)
at
wicket.MarkupContainer.renderNext(MarkupContainer.java:1224)
at
wicket.MarkupContainer.renderAll(MarkupContainer.java:840)
at wicket.Page.onRender(Page.java:846)
at wicket.Component.render(Component.java:1519)
at wicket.Page.doRender(Page.java:390)
at
wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:224)
at
wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:47)
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:209)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
at
org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
at
org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at
org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
Page
[Page class = wicket.examples.yui.SliderPage, id
= 16]:
# Path Size Type Model Object
1 _body 5K
wicket.markup.html.internal.HtmlBodyContainer
2 mainNavigation 2,9K
wicket.examples.WicketExampleHeader
3 mainNavigation:exampleTitle 434 bytes
wicket.markup.html.basic.Label yui
4 mainNavigation:inspector 2,5K
wicket.markup.html.debug.InspectorBug
5 mainNavigation:inspector:link 2,5K
wicket.markup.html.link.BookmarkablePageLink
6 mainNavigation:inspector:link:bug
1,7K wicket.markup.html.image.Image
7 slider 5K
wicket.extensions.markup.html.yui.slider.Slider 0
8 slider:YAHOO 1,3K
wicket.markup.html.resources.JavaScriptReference
9 slider:dom 1,3K
wicket.markup.html.resources.JavaScriptReference
10 slider:dragdrop 1,3K
wicket.markup.html.resources.JavaScriptReference
11 slider:event 1,3K
wicket.markup.html.resources.JavaScriptReference
12 slider:initialization 5K
wicket.markup.html.basic.Label
13 slider:slider 1,3K
wicket.markup.html.resources.JavaScriptReference
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1443311&group_id=119783
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop