I am addding a Wicket Modal. I go to render it on button click and amd
getting the below trace. But I don't have _header_ in my page, in the
modal, or anywhere in my app actually (I searched the whole workspace), so
I'm not sure where it comes from, and therefore am not sure how to fix it.
org.apache.wicket.WicketRuntimeException: Cannot replace a component which
has not been added: id='_header_', component=[HtmlHeaderContainer [Component
id = _header_]]:
[Page class = com.mycompany.mypage, id = 0, render count = 1]
at org.apache.wicket.MarkupContainer.replace(MarkupContainer.java:734)
at
org.apache.wicket.ajax.AbstractAjaxResponse.writeTo(AbstractAjaxResponse.java:170)
at
org.apache.wicket.ajax.AjaxRequestHandler.respond(AjaxRequestHandler.java:359)
at
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:890)
at
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
at
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:97)
at
org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:261)
at
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:218)
at
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
at
org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
at
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
at
org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:159)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-Modal-throws-exception-tp4677764.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]