And the application is throwing an exception. On repeated tries to close the
ModalWindow via the AjaxLink
[2009-12-04 16:45:34,942]ERROR [http-8080-4] (RequestCycle.java:1521) -
org.apache.wicket.WicketRuntimeException: After 1 minute the Pagemap
modal-dialog-pagemap is still locked by: Thread[http-8080-6,5,main], giving up
trying to get the page for path: 2:CloseWindowLink
Begin of stack trace of Thread[http-8080-6,5,main]
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:474)
org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:416)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:442)
java.lang.Thread.run(Thread.java:613)
End of stack trace of Thread[http-8080-6,5,main]
org.apache.wicket.protocol.http.request.InvalidUrlException:
org.apache.wicket.WicketRuntimeException: After 1 minute the Pagemap
modal-dialog-pagemap is still locked by: Thread[http-8080-6,5,main], giving up
trying to get the page for path: 2:CloseWindowLink
Begin of stack trace of Thread[http-8080-6,5,main]
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:474)
org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:416)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:442)
java.lang.Thread.run(Thread.java:613)
End of stack trace of Thread[http-8080-6,5,main]
at
org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:262)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:468)
at
org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:138)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:613)
Caused by: org.apache.wicket.WicketRuntimeException: After 1 minute the Pagemap
modal-dialog-pagemap is still locked by: Thread[http-8080-6,5,main], giving up
trying to get the page for path: 2:CloseWindowLink
Begin of stack trace of Thread[http-8080-6,5,main]
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:474)
org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:416)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:442)
java.lang.Thread.run(Thread.java:613)
End of stack trace of Thread[http-8080-6,5,main]
at org.apache.wicket.Session.getPage(Session.java:769)
at
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:458)
at
org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:144)
... 20 more
> From: ed_b...@hotmail.com
> To: users@wicket.apache.org
> Subject: RE: Closing ModalWindows on page with multiple modal windows
> Date: Fri, 4 Dec 2009 15:21:36 -0800
>
>
> Using version 1.4.3
>
> Would really ppreciate suggestions.
>
> > From: ed_b...@hotmail.com
> > To: users@wicket.apache.org
> > Subject: Closing ModalWindows on page with multiple modal windows
> > Date: Fri, 4 Dec 2009 15:09:22 -0800
> >
> >
> > Hi,
> >
> > I have a page with several panels each of them them have links that open
> > modal windows. Essentially there are a number of modal windows on the page
> > most are hidden. They all open up and I am able to close them with the
> > Cross (X) link.
> >
> >
> > In one of the modal windows the content has an ajaxLink that closes th