Wicket
  1. Wicket
  2. WICKET-5071

404 Error on Nested ModalWindows in IE7 and IE8

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.8, 6.6.0
    • Fix Version/s: 6.9.0, 7.0.0-M1
    • Component/s: wicket-extensions
    • Labels:
      None
    • Environment:
      Internet Explorer 8.0.7601.17514
      Internet Explorer 7.0.5730.13
      Jetty 7 (multiple versions replicate the problem)
      Tomcat 6

      Description

      When opening a ModalWindow inside a ModalWindow, the inner ModalWindow generates a 404 error. Both windows use a PageCreator for content.

      To replicate, you must use an actual IE 7 or IE 8 browser, as this does not replicate using developer tools and setting the document and brower to IE 7.

      The problem can be seen at http://www.wicket-library.com/wicket-examples/ajax/modal-window. I will attach a Quickstart as well.

      1. NestedModals.zip
        38 kB
        Jered Myers
      2. fix-WICKET-5071.patch
        2 kB
        Jared Sol

        Issue Links

          Activity

          Hide
          Hudson added a comment -

          Integrated in Syncope-1_1_X #74 (See https://builds.apache.org/job/Syncope-1_1_X/74/)
          SYNCOPE-370 Upgrade to Wicket 6.9.0 (that contains WICKET-5071) (Revision 1498805)

          Result = SUCCESS
          ilgrosso :
          Files :

          • /syncope/branches/1_1_X/pom.xml
          Show
          Hudson added a comment - Integrated in Syncope-1_1_X #74 (See https://builds.apache.org/job/Syncope-1_1_X/74/ ) SYNCOPE-370 Upgrade to Wicket 6.9.0 (that contains WICKET-5071 ) (Revision 1498805) Result = SUCCESS ilgrosso : Files : /syncope/branches/1_1_X/pom.xml
          Hide
          Jered Myers added a comment -

          Thanks Martin! It seems to be working with what I have tested so far!

          Show
          Jered Myers added a comment - Thanks Martin! It seems to be working with what I have tested so far!
          Hide
          Martin Grigorov added a comment -

          A similar improvement was added to BookmarkableMapper.
          Now your quickstart works OK too!
          Thanks for your help!

          Show
          Martin Grigorov added a comment - A similar improvement was added to BookmarkableMapper. Now your quickstart works OK too! Thanks for your help!
          Hide
          Martin Grigorov added a comment -

          I've used the ModalWindow demo in wicket-examples. The problem was reproducible before my fix and now is OK.
          I'll try with your quickstart too.

          Show
          Martin Grigorov added a comment - I've used the ModalWindow demo in wicket-examples. The problem was reproducible before my fix and now is OK. I'll try with your quickstart too.
          Hide
          Jered Myers added a comment -

          This still does not seem to be working. I used the branch remotes/origin/wicket-6.x to build. I ran this test in IE 8. Here is what is in my console:

          SSL access to the quickstart has been enabled on port 8443
          You can access the application using SSL on https://localhost:8443

          >>> STARTING EMBEDDED JETTY SERVER, PRESS ANY KEY TO STOP
          INFO - Server - jetty-7.6.3.v20120416
          INFO - tandardDescriptorProcessor - NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
          INFO - ContextHandler - started o.e.j.w.WebAppContext

          {/,file:/home/neville/workspace_wicket/NestedModals/src/main/webapp/}

          ,src/main/webapp
          INFO - WebXmlFile - web.xml: url mapping found for filter with name wicket.NestedModals: [/*]
          INFO - Application - [wicket.NestedModals] init: Wicket core library initializer
          INFO - RequestListenerInterface - registered listener interface [RequestListenerInterface name=IBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()]
          INFO - RequestListenerInterface - registered listener interface [RequestListenerInterface name=IFormSubmitListener, method=public abstract void org.apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()]
          INFO - RequestListenerInterface - registered listener interface [RequestListenerInterface name=ILinkListener, method=public abstract void org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]
          INFO - RequestListenerInterface - registered listener interface [RequestListenerInterface name=IOnChangeListener, method=public abstract void org.apache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()]
          INFO - RequestListenerInterface - registered listener interface [RequestListenerInterface name=IRedirectListener, method=public abstract void org.apache.wicket.IRedirectListener.onRedirect()]
          INFO - RequestListenerInterface - registered listener interface [RequestListenerInterface name=IResourceListener, method=public abstract void org.apache.wicket.IResourceListener.onResourceRequested()]
          INFO - Application - [wicket.NestedModals] init: Wicket extensions initializer
          INFO - WebApplication - [wicket.NestedModals] Started Wicket version 6.9.0-SNAPSHOT in DEVELOPMENT mode
          ********************************************************************

              • WARNING: Wicket is running in DEVELOPMENT mode. ***
              • ^^^^^^^^^^^ ***
              • Do NOT deploy to your live server(s) without changing this. ***
              • See Application#getConfigurationType() for more information. ***
                ********************************************************************
                INFO - AbstractConnector - Started SocketConnector@0.0.0.0:8080
                INFO - SslContextFactory - Enabled Protocols [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2] of [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
                INFO - AbstractConnector - Started SslSocketConnector@0.0.0.0:8443
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - CompoundRequestMapper - No compatible mapper found for URL ''
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - DefaultPageFactory - Found constructor for Page of type 'class com.qs.NestedModals.HomePage' and argument of type 'class org.apache.wicket.request.mapper.parameter.PageParameters'.
                DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' attempting to acquire lock to page with id '0'
                DEBUG - PageAccessSynchronizer - qtp2128350680-16 acquired lock to page 0
                DEBUG - MarkupContainer - Add content to [ModalWindow [Component id = outerModalWindow]]
                DEBUG - MarkupContainer - Replacing content in [ModalWindow [Component id = outerModalWindow]]
                DEBUG - MarkupContainer - Add outerModalWindow to [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 0]
                DEBUG - MarkupContainer - Add modalLink to [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 0]
                DEBUG - Page - Page '[Page class = com.qs.NestedModals.HomePage, id = 0, render count = 0]' is not stateless because of component with path 'outerModalWindow'.
                DEBUG - MarkupCache - Load markup: cacheKey=com.qs.NestedModals.HomePage_en_US.html
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/HomePage_en_US.html' using finder'[classpath]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/HomePage_en_US.html' using finder'[webapppath: /]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/HomePage_en_US.html' using finder'[classpath: META-INF/resources/]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/HomePage_en.html' using finder'[classpath]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/HomePage_en.html' using finder'[webapppath: /]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/HomePage_en.html' using finder'[classpath: META-INF/resources/]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/HomePage.html' using finder'[classpath]'
                DEBUG - MarkupCache - Loading markup from file:/home/neville/workspace_wicket/NestedModals/target/classes/com/qs/NestedModals/HomePage.html
                DEBUG - AbstractMarkupParser - The markup file does not have a XML declaration prolog with 'encoding' attribute:file:/home/neville/workspace_wicket/NestedModals/target/classes/com/qs/NestedModals/HomePage.html. It is safer to use it. E.g. <?xml version="1.0" encoding="UTF-8" ?>
                DEBUG - Component - Begin render [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 1]
                DEBUG - MarkupContainer - Add _header_0 to [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 1]
                DEBUG - Component - Begin render [HtmlHeaderContainer [Component id = _header_0]]
                DEBUG - Component - renderHead: [ModalWindow [Component id = outerModalWindow]]
                DEBUG - MarkupCache - Load markup: cacheKey=org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow_en_US.html
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow_en_US.html' using finder'[classpath]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow_en_US.html' using finder'[webapppath: /]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow_en_US.html' using finder'[classpath: META-INF/resources/]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow_en.html' using finder'[classpath]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow_en.html' using finder'[webapppath: /]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow_en.html' using finder'[classpath: META-INF/resources/]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow.html' using finder'[classpath]'
                DEBUG - MarkupCache - Loading markup from jar:file:/home/neville/.m2/repository/org/apache/wicket/wicket-extensions/6.9.0-SNAPSHOT/wicket-extensions-6.9.0-SNAPSHOT.jar!/org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow.html
                DEBUG - Component - renderHead: [AjaxLink [Component id = modalLink]]
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - Component - renderHead: [HtmlHeaderContainer [Component id = _header_0]]
                DEBUG - Component - renderHead: [HomePage [Component id = 0]]
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/resource/jquery/jquery-1.10.1_en_US.js' using finder'[classpath]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/resource/jquery/jquery-1.10.1_en_US.js' using finder'[webapppath: /]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/resource/jquery/jquery-1.10.1_en_US.js' using finder'[classpath: META-INF/resources/]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/resource/jquery/jquery-1.10.1_en.js' using finder'[classpath]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/resource/jquery/jquery-1.10.1_en.js' using finder'[webapppath: /]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/resource/jquery/jquery-1.10.1_en.js' using finder'[classpath: META-INF/resources/]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/resource/jquery/jquery-1.10.1.js' using finder'[classpath]'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-event-jquery_en_US.js' using finder'[classpath]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-event-jquery_en_US.js' using finder'[webapppath: /]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-event-jquery_en_US.js' using finder'[classpath: META-INF/resources/]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-event-jquery_en.js' using finder'[classpath]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-event-jquery_en.js' using finder'[webapppath: /]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-event-jquery_en.js' using finder'[classpath: META-INF/resources/]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-event-jquery.js' using finder'[classpath]'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery_en_US.js' using finder'[classpath]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery_en_US.js' using finder'[webapppath: /]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery_en_US.js' using finder'[classpath: META-INF/resources/]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery_en.js' using finder'[classpath]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery_en.js' using finder'[webapppath: /]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery_en.js' using finder'[classpath: META-INF/resources/]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js' using finder'[classpath]'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery-debug_en_US.js' using finder'[classpath]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery-debug_en_US.js' using finder'[webapppath: /]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery-debug_en_US.js' using finder'[classpath: META-INF/resources/]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery-debug_en.js' using finder'[classpath]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery-debug_en.js' using finder'[webapppath: /]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery-debug_en.js' using finder'[classpath: META-INF/resources/]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery-debug.js' using finder'[classpath]'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en_US.js' using finder'[classpath]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en_US.js' using finder'[webapppath: /]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en_US.js' using finder'[classpath: META-INF/resources/]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en.js' using finder'[classpath]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en.js' using finder'[webapppath: /]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en.js' using finder'[classpath: META-INF/resources/]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal.js' using finder'[classpath]'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en_US.css' using finder'[classpath]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en_US.css' using finder'[webapppath: /]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en_US.css' using finder'[classpath: META-INF/resources/]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en.css' using finder'[classpath]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en.css' using finder'[webapppath: /]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en.css' using finder'[classpath: META-INF/resources/]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal.css' using finder'[classpath]'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - Page - Rendered [HtmlHeaderContainer [Component id = _header_0]]
                DEBUG - Component - End render [HtmlHeaderContainer [Component id = _header_0]]
                DEBUG - Component - Begin render [AjaxLink [Component id = modalLink]]
                DEBUG - Page - Rendered [AjaxLink [Component id = modalLink]]
                DEBUG - Component - End render [AjaxLink [Component id = modalLink]]
                DEBUG - Component - Begin render [ModalWindow [Component id = outerModalWindow]]
                DEBUG - Page - Rendered [ModalWindow [Component id = outerModalWindow]]
                DEBUG - Component - End render [ModalWindow [Component id = outerModalWindow]]
                DEBUG - Page - Rendered [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 1]
                DEBUG - Component - End render [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 1]
                DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' attempting to acquire lock to page with id '0'
                DEBUG - PageAccessSynchronizer - qtp2128350680-16 acquired lock to page 0
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 1], request org.apache.wicket.protocol.http.servlet.ServletWebRequest@1e49f598
                DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 1], request org.apache.wicket.protocol.http.servlet.ServletWebRequest@1e49f598
                DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' released lock to page with id '0'
                DEBUG - taStore$PageSavingRunnable - Saving asynchronously: Entry [sessionId=1hzi2k42flzu0tvppe3g1jdj4, pageId=0]...
                DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' notifying blocked threads
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - DiskDataStore - Storing data for page with id '0' in session with id '1hzi2k42flzu0tvppe3g1jdj4'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - CompoundRequestMapper - One compatible mapper found for URL '?0' -> 'Mapper: org.apache.wicket.core.request.mapper.BufferedResponseMapper; Score: 2147483647'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/'
                DEBUG - CompoundRequestMapper - No compatible mapper found for URL '?0-1.IBehaviorListener.0-modalLink&_=1371250796095'
                DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' attempting to acquire lock to page with id '0'
                DEBUG - PageAccessSynchronizer - qtp2128350680-16 acquired lock to page 0
                DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' attempting to acquire lock to page with id '1'
                DEBUG - PageAccessSynchronizer - qtp2128350680-16 acquired lock to page 1
                DEBUG - MarkupContainer - Add content to [ModalWindow [Component id = innerModalWindow]]
                DEBUG - MarkupContainer - Replacing content in [ModalWindow [Component id = innerModalWindow]]
                DEBUG - MarkupContainer - Add innerModalWindow to [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 0]
                DEBUG - MarkupContainer - Add modalLink to [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 0]
                DEBUG - Page - Page '[Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 0]' is not stateless because of component with path 'innerModalWindow'.
                DEBUG - MarkupContainer - Add header to [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 1]
                DEBUG - Component - renderHead: [WebMarkupContainer [Component id = content]]
                DEBUG - Component - renderHead: [ModalWindow [Component id = outerModalWindow]]
                DEBUG - Component - Begin render [ModalWindow [Component id = outerModalWindow]]
                DEBUG - Component - Begin render [WebMarkupContainer [Component id = content]]
                DEBUG - Page - Rendered [WebMarkupContainer [Component id = content]]
                DEBUG - Component - End render [WebMarkupContainer [Component id = content]]
                DEBUG - Page - Rendered [ModalWindow [Component id = outerModalWindow]]
                DEBUG - Component - End render [ModalWindow [Component id = outerModalWindow]]
                DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 1], request org.apache.wicket.protocol.http.servlet.ServletWebRequest@1de28170
                DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 1], request org.apache.wicket.protocol.http.servlet.ServletWebRequest@1de28170
                DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 1], request org.apache.wicket.protocol.http.servlet.ServletWebRequest@1de28170
                DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 0], request org.apache.wicket.protocol.http.servlet.ServletWebRequest@1de28170
                DEBUG - taStore$PageSavingRunnable - Saving asynchronously: Entry [sessionId=1hzi2k42flzu0tvppe3g1jdj4, pageId=0]...
                DEBUG - DiskDataStore - Storing data for page with id '0' in session with id '1hzi2k42flzu0tvppe3g1jdj4'
                DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' released lock to page with id '0'
                DEBUG - taStore$PageSavingRunnable - Saving asynchronously: Entry [sessionId=1hzi2k42flzu0tvppe3g1jdj4, pageId=1]...
                DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' notifying blocked threads
                DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' released lock to page with id '1'
                DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' notifying blocked threads
                DEBUG - DiskDataStore - Storing data for page with id '1' in session with id '1hzi2k42flzu0tvppe3g1jdj4'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - CompoundRequestMapper - One compatible mapper found for URL 'wicket/page?1' -> 'Mapper: org.apache.wicket.core.request.mapper.PageInstanceMapper; Score: 2147483647'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' attempting to acquire lock to page with id '1'
                DEBUG - PageAccessSynchronizer - qtp2128350680-16 acquired lock to page 1
                DEBUG - MarkupCache - Load markup: cacheKey=com.qs.NestedModals.OuterModalContent_en_US.html
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/OuterModalContent_en_US.html' using finder'[classpath]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/OuterModalContent_en_US.html' using finder'[webapppath: /]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/OuterModalContent_en_US.html' using finder'[classpath: META-INF/resources/]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/OuterModalContent_en.html' using finder'[classpath]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/OuterModalContent_en.html' using finder'[webapppath: /]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/OuterModalContent_en.html' using finder'[classpath: META-INF/resources/]'
                DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/OuterModalContent.html' using finder'[classpath]'
                DEBUG - MarkupCache - Loading markup from file:/home/neville/workspace_wicket/NestedModals/target/classes/com/qs/NestedModals/OuterModalContent.html
                DEBUG - AbstractMarkupParser - The markup file does not have a XML declaration prolog with 'encoding' attribute:file:/home/neville/workspace_wicket/NestedModals/target/classes/com/qs/NestedModals/OuterModalContent.html. It is safer to use it. E.g. <?xml version="1.0" encoding="UTF-8" ?>
                DEBUG - Component - Begin render [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 1]
                DEBUG - MarkupContainer - Add _header_0 to [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 1]
                DEBUG - Component - Begin render [HtmlHeaderContainer [Component id = _header_0]]
                DEBUG - Component - renderHead: [ModalWindow [Component id = innerModalWindow]]
                DEBUG - Component - renderHead: [AjaxLink [Component id = modalLink]]
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - Component - renderHead: [HtmlHeaderContainer [Component id = _header_0]]
                DEBUG - Component - renderHead: [OuterModalContent [Component id = 1]]
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - Page - Rendered [HtmlHeaderContainer [Component id = _header_0]]
                DEBUG - Component - End render [HtmlHeaderContainer [Component id = _header_0]]
                DEBUG - Component - Begin render [AjaxLink [Component id = modalLink]]
                DEBUG - Page - Rendered [AjaxLink [Component id = modalLink]]
                DEBUG - Component - End render [AjaxLink [Component id = modalLink]]
                DEBUG - Component - Begin render [ModalWindow [Component id = innerModalWindow]]
                DEBUG - Page - Rendered [ModalWindow [Component id = innerModalWindow]]
                DEBUG - Component - End render [ModalWindow [Component id = innerModalWindow]]
                DEBUG - Page - Rendered [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 1]
                DEBUG - Component - End render [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 1]
                DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' attempting to acquire lock to page with id '1'
                DEBUG - PageAccessSynchronizer - qtp2128350680-16 acquired lock to page 1
                DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 1], request org.apache.wicket.protocol.http.servlet.ServletWebRequest@3826515f
                DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 1], request org.apache.wicket.protocol.http.servlet.ServletWebRequest@3826515f
                DEBUG - taStore$PageSavingRunnable - Saving asynchronously: Entry [sessionId=1hzi2k42flzu0tvppe3g1jdj4, pageId=1]...
                DEBUG - DiskDataStore - Storing data for page with id '1' in session with id '1hzi2k42flzu0tvppe3g1jdj4'
                DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' released lock to page with id '1'
                DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' notifying blocked threads
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page'
                DEBUG - CompoundRequestMapper - One compatible mapper found for URL 'wicket/page?1-1.IBehaviorListener.0-modalLink&_=1371250797748' -> 'Mapper: org.apache.wicket.core.request.mapper.PageInstanceMapper; Score: 2147483647'
                DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' attempting to acquire lock to page with id '1'
                DEBUG - PageAccessSynchronizer - qtp2128350680-16 acquired lock to page 1
                DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' attempting to acquire lock to page with id '2'
                DEBUG - PageAccessSynchronizer - qtp2128350680-16 acquired lock to page 2
                DEBUG - MarkupContainer - Add header to [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 1]
                DEBUG - Component - renderHead: [WebMarkupContainer [Component id = content]]
                DEBUG - Component - renderHead: [ModalWindow [Component id = innerModalWindow]]
                DEBUG - Component - Begin render [ModalWindow [Component id = innerModalWindow]]
                DEBUG - Component - Begin render [WebMarkupContainer [Component id = content]]
                DEBUG - Page - Rendered [WebMarkupContainer [Component id = content]]
                DEBUG - Component - End render [WebMarkupContainer [Component id = content]]
                DEBUG - Page - Rendered [ModalWindow [Component id = innerModalWindow]]
                DEBUG - Component - End render [ModalWindow [Component id = innerModalWindow]]
                DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 1], request org.apache.wicket.protocol.http.servlet.ServletWebRequest@74f69620
                DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 1], request org.apache.wicket.protocol.http.servlet.ServletWebRequest@74f69620
                DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 1], request org.apache.wicket.protocol.http.servlet.ServletWebRequest@74f69620
                DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.InnerModalContent, id = 2, render count = 0], request org.apache.wicket.protocol.http.servlet.ServletWebRequest@74f69620
                DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' released lock to page with id '2'
                DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' notifying blocked threads
                DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' released lock to page with id '1'
                DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' notifying blocked threads
                DEBUG - taStore$PageSavingRunnable - Saving asynchronously: Entry [sessionId=1hzi2k42flzu0tvppe3g1jdj4, pageId=1]...
                DEBUG - DiskDataStore - Storing data for page with id '1' in session with id '1hzi2k42flzu0tvppe3g1jdj4'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/bookmarkable/com.qs.NestedModals.InnerModalContent'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/bookmarkable/com.qs.NestedModals.InnerModalContent'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/bookmarkable/com.qs.NestedModals.InnerModalContent'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/bookmarkable/com.qs.NestedModals.InnerModalContent'
                DEBUG - CompoundRequestMapper - No compatible mapper found for URL 'bookmarkable/com.qs.NestedModals.InnerModalContent'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/bookmarkable/com.qs.NestedModals.InnerModalContent'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/bookmarkable/com.qs.NestedModals.InnerModalContent'
                DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/bookmarkable/com.qs.NestedModals.InnerModalContent'
                DEBUG - RequestCycle - No suitable handler found for URL bookmarkable/com.qs.NestedModals.InnerModalContent, falling back to container to process this request
          Show
          Jered Myers added a comment - This still does not seem to be working. I used the branch remotes/origin/wicket-6.x to build. I ran this test in IE 8. Here is what is in my console: SSL access to the quickstart has been enabled on port 8443 You can access the application using SSL on https://localhost:8443 >>> STARTING EMBEDDED JETTY SERVER, PRESS ANY KEY TO STOP INFO - Server - jetty-7.6.3.v20120416 INFO - tandardDescriptorProcessor - NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet INFO - ContextHandler - started o.e.j.w.WebAppContext {/,file:/home/neville/workspace_wicket/NestedModals/src/main/webapp/} ,src/main/webapp INFO - WebXmlFile - web.xml: url mapping found for filter with name wicket.NestedModals: [/*] INFO - Application - [wicket.NestedModals] init: Wicket core library initializer INFO - RequestListenerInterface - registered listener interface [RequestListenerInterface name=IBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()] INFO - RequestListenerInterface - registered listener interface [RequestListenerInterface name=IFormSubmitListener, method=public abstract void org.apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()] INFO - RequestListenerInterface - registered listener interface [RequestListenerInterface name=ILinkListener, method=public abstract void org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()] INFO - RequestListenerInterface - registered listener interface [RequestListenerInterface name=IOnChangeListener, method=public abstract void org.apache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()] INFO - RequestListenerInterface - registered listener interface [RequestListenerInterface name=IRedirectListener, method=public abstract void org.apache.wicket.IRedirectListener.onRedirect()] INFO - RequestListenerInterface - registered listener interface [RequestListenerInterface name=IResourceListener, method=public abstract void org.apache.wicket.IResourceListener.onResourceRequested()] INFO - Application - [wicket.NestedModals] init: Wicket extensions initializer INFO - WebApplication - [wicket.NestedModals] Started Wicket version 6.9.0-SNAPSHOT in DEVELOPMENT mode ******************************************************************** WARNING: Wicket is running in DEVELOPMENT mode. *** ^^^^^^^^^^^ *** Do NOT deploy to your live server(s) without changing this. *** See Application#getConfigurationType() for more information. *** ******************************************************************** INFO - AbstractConnector - Started SocketConnector@0.0.0.0:8080 INFO - SslContextFactory - Enabled Protocols [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2] of [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2] INFO - AbstractConnector - Started SslSocketConnector@0.0.0.0:8443 DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - CompoundRequestMapper - No compatible mapper found for URL '' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - DefaultPageFactory - Found constructor for Page of type 'class com.qs.NestedModals.HomePage' and argument of type 'class org.apache.wicket.request.mapper.parameter.PageParameters'. DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' attempting to acquire lock to page with id '0' DEBUG - PageAccessSynchronizer - qtp2128350680-16 acquired lock to page 0 DEBUG - MarkupContainer - Add content to [ModalWindow [Component id = outerModalWindow] ] DEBUG - MarkupContainer - Replacing content in [ModalWindow [Component id = outerModalWindow] ] DEBUG - MarkupContainer - Add outerModalWindow to [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 0] DEBUG - MarkupContainer - Add modalLink to [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 0] DEBUG - Page - Page ' [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 0] ' is not stateless because of component with path 'outerModalWindow'. DEBUG - MarkupCache - Load markup: cacheKey=com.qs.NestedModals.HomePage_en_US.html DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/HomePage_en_US.html' using finder' [classpath] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/HomePage_en_US.html' using finder' [webapppath: /] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/HomePage_en_US.html' using finder' [classpath: META-INF/resources/] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/HomePage_en.html' using finder' [classpath] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/HomePage_en.html' using finder' [webapppath: /] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/HomePage_en.html' using finder' [classpath: META-INF/resources/] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/HomePage.html' using finder' [classpath] ' DEBUG - MarkupCache - Loading markup from file:/home/neville/workspace_wicket/NestedModals/target/classes/com/qs/NestedModals/HomePage.html DEBUG - AbstractMarkupParser - The markup file does not have a XML declaration prolog with 'encoding' attribute: file:/home/neville/workspace_wicket/NestedModals/target/classes/com/qs/NestedModals/HomePage.html . It is safer to use it. E.g. <?xml version="1.0" encoding="UTF-8" ?> DEBUG - Component - Begin render [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 1] DEBUG - MarkupContainer - Add _header_0 to [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 1] DEBUG - Component - Begin render [HtmlHeaderContainer [Component id = _header_0] ] DEBUG - Component - renderHead: [ModalWindow [Component id = outerModalWindow] ] DEBUG - MarkupCache - Load markup: cacheKey=org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow_en_US.html DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow_en_US.html' using finder' [classpath] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow_en_US.html' using finder' [webapppath: /] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow_en_US.html' using finder' [classpath: META-INF/resources/] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow_en.html' using finder' [classpath] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow_en.html' using finder' [webapppath: /] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow_en.html' using finder' [classpath: META-INF/resources/] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow.html' using finder' [classpath] ' DEBUG - MarkupCache - Loading markup from jar: file:/home/neville/.m2/repository/org/apache/wicket/wicket-extensions/6.9.0-SNAPSHOT/wicket-extensions-6.9.0-SNAPSHOT.jar!/org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow.html DEBUG - Component - renderHead: [AjaxLink [Component id = modalLink] ] DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - Component - renderHead: [HtmlHeaderContainer [Component id = _header_0] ] DEBUG - Component - renderHead: [HomePage [Component id = 0] ] DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/resource/jquery/jquery-1.10.1_en_US.js' using finder' [classpath] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/resource/jquery/jquery-1.10.1_en_US.js' using finder' [webapppath: /] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/resource/jquery/jquery-1.10.1_en_US.js' using finder' [classpath: META-INF/resources/] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/resource/jquery/jquery-1.10.1_en.js' using finder' [classpath] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/resource/jquery/jquery-1.10.1_en.js' using finder' [webapppath: /] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/resource/jquery/jquery-1.10.1_en.js' using finder' [classpath: META-INF/resources/] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/resource/jquery/jquery-1.10.1.js' using finder' [classpath] ' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-event-jquery_en_US.js' using finder' [classpath] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-event-jquery_en_US.js' using finder' [webapppath: /] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-event-jquery_en_US.js' using finder' [classpath: META-INF/resources/] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-event-jquery_en.js' using finder' [classpath] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-event-jquery_en.js' using finder' [webapppath: /] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-event-jquery_en.js' using finder' [classpath: META-INF/resources/] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-event-jquery.js' using finder' [classpath] ' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery_en_US.js' using finder' [classpath] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery_en_US.js' using finder' [webapppath: /] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery_en_US.js' using finder' [classpath: META-INF/resources/] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery_en.js' using finder' [classpath] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery_en.js' using finder' [webapppath: /] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery_en.js' using finder' [classpath: META-INF/resources/] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js' using finder' [classpath] ' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery-debug_en_US.js' using finder' [classpath] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery-debug_en_US.js' using finder' [webapppath: /] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery-debug_en_US.js' using finder' [classpath: META-INF/resources/] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery-debug_en.js' using finder' [classpath] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery-debug_en.js' using finder' [webapppath: /] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery-debug_en.js' using finder' [classpath: META-INF/resources/] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/ajax/res/js/wicket-ajax-jquery-debug.js' using finder' [classpath] ' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en_US.js' using finder' [classpath] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en_US.js' using finder' [webapppath: /] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en_US.js' using finder' [classpath: META-INF/resources/] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en.js' using finder' [classpath] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en.js' using finder' [webapppath: /] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en.js' using finder' [classpath: META-INF/resources/] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal.js' using finder' [classpath] ' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en_US.css' using finder' [classpath] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en_US.css' using finder' [webapppath: /] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en_US.css' using finder' [classpath: META-INF/resources/] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en.css' using finder' [classpath] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en.css' using finder' [webapppath: /] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal_en.css' using finder' [classpath: META-INF/resources/] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'org/apache/wicket/extensions/ajax/markup/html/modal/res/modal.css' using finder' [classpath] ' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - Page - Rendered [HtmlHeaderContainer [Component id = _header_0] ] DEBUG - Component - End render [HtmlHeaderContainer [Component id = _header_0] ] DEBUG - Component - Begin render [AjaxLink [Component id = modalLink] ] DEBUG - Page - Rendered [AjaxLink [Component id = modalLink] ] DEBUG - Component - End render [AjaxLink [Component id = modalLink] ] DEBUG - Component - Begin render [ModalWindow [Component id = outerModalWindow] ] DEBUG - Page - Rendered [ModalWindow [Component id = outerModalWindow] ] DEBUG - Component - End render [ModalWindow [Component id = outerModalWindow] ] DEBUG - Page - Rendered [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 1] DEBUG - Component - End render [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 1] DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' attempting to acquire lock to page with id '0' DEBUG - PageAccessSynchronizer - qtp2128350680-16 acquired lock to page 0 DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 1] , request org.apache.wicket.protocol.http.servlet.ServletWebRequest@1e49f598 DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 1] , request org.apache.wicket.protocol.http.servlet.ServletWebRequest@1e49f598 DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' released lock to page with id '0' DEBUG - taStore$PageSavingRunnable - Saving asynchronously: Entry [sessionId=1hzi2k42flzu0tvppe3g1jdj4, pageId=0] ... DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' notifying blocked threads DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - DiskDataStore - Storing data for page with id '0' in session with id '1hzi2k42flzu0tvppe3g1jdj4' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - CompoundRequestMapper - One compatible mapper found for URL '?0' -> 'Mapper: org.apache.wicket.core.request.mapper.BufferedResponseMapper; Score: 2147483647' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/' DEBUG - CompoundRequestMapper - No compatible mapper found for URL '?0-1.IBehaviorListener.0-modalLink&_=1371250796095' DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' attempting to acquire lock to page with id '0' DEBUG - PageAccessSynchronizer - qtp2128350680-16 acquired lock to page 0 DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' attempting to acquire lock to page with id '1' DEBUG - PageAccessSynchronizer - qtp2128350680-16 acquired lock to page 1 DEBUG - MarkupContainer - Add content to [ModalWindow [Component id = innerModalWindow] ] DEBUG - MarkupContainer - Replacing content in [ModalWindow [Component id = innerModalWindow] ] DEBUG - MarkupContainer - Add innerModalWindow to [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 0] DEBUG - MarkupContainer - Add modalLink to [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 0] DEBUG - Page - Page ' [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 0] ' is not stateless because of component with path 'innerModalWindow'. DEBUG - MarkupContainer - Add header to [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 1] DEBUG - Component - renderHead: [WebMarkupContainer [Component id = content] ] DEBUG - Component - renderHead: [ModalWindow [Component id = outerModalWindow] ] DEBUG - Component - Begin render [ModalWindow [Component id = outerModalWindow] ] DEBUG - Component - Begin render [WebMarkupContainer [Component id = content] ] DEBUG - Page - Rendered [WebMarkupContainer [Component id = content] ] DEBUG - Component - End render [WebMarkupContainer [Component id = content] ] DEBUG - Page - Rendered [ModalWindow [Component id = outerModalWindow] ] DEBUG - Component - End render [ModalWindow [Component id = outerModalWindow] ] DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 1] , request org.apache.wicket.protocol.http.servlet.ServletWebRequest@1de28170 DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 1] , request org.apache.wicket.protocol.http.servlet.ServletWebRequest@1de28170 DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.HomePage, id = 0, render count = 1] , request org.apache.wicket.protocol.http.servlet.ServletWebRequest@1de28170 DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 0] , request org.apache.wicket.protocol.http.servlet.ServletWebRequest@1de28170 DEBUG - taStore$PageSavingRunnable - Saving asynchronously: Entry [sessionId=1hzi2k42flzu0tvppe3g1jdj4, pageId=0] ... DEBUG - DiskDataStore - Storing data for page with id '0' in session with id '1hzi2k42flzu0tvppe3g1jdj4' DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' released lock to page with id '0' DEBUG - taStore$PageSavingRunnable - Saving asynchronously: Entry [sessionId=1hzi2k42flzu0tvppe3g1jdj4, pageId=1] ... DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' notifying blocked threads DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' released lock to page with id '1' DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' notifying blocked threads DEBUG - DiskDataStore - Storing data for page with id '1' in session with id '1hzi2k42flzu0tvppe3g1jdj4' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - CompoundRequestMapper - One compatible mapper found for URL 'wicket/page?1' -> 'Mapper: org.apache.wicket.core.request.mapper.PageInstanceMapper; Score: 2147483647' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' attempting to acquire lock to page with id '1' DEBUG - PageAccessSynchronizer - qtp2128350680-16 acquired lock to page 1 DEBUG - MarkupCache - Load markup: cacheKey=com.qs.NestedModals.OuterModalContent_en_US.html DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/OuterModalContent_en_US.html' using finder' [classpath] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/OuterModalContent_en_US.html' using finder' [webapppath: /] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/OuterModalContent_en_US.html' using finder' [classpath: META-INF/resources/] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/OuterModalContent_en.html' using finder' [classpath] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/OuterModalContent_en.html' using finder' [webapppath: /] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/OuterModalContent_en.html' using finder' [classpath: META-INF/resources/] ' DEBUG - ResourceStreamLocator - Attempting to locate resource 'com/qs/NestedModals/OuterModalContent.html' using finder' [classpath] ' DEBUG - MarkupCache - Loading markup from file:/home/neville/workspace_wicket/NestedModals/target/classes/com/qs/NestedModals/OuterModalContent.html DEBUG - AbstractMarkupParser - The markup file does not have a XML declaration prolog with 'encoding' attribute: file:/home/neville/workspace_wicket/NestedModals/target/classes/com/qs/NestedModals/OuterModalContent.html . It is safer to use it. E.g. <?xml version="1.0" encoding="UTF-8" ?> DEBUG - Component - Begin render [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 1] DEBUG - MarkupContainer - Add _header_0 to [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 1] DEBUG - Component - Begin render [HtmlHeaderContainer [Component id = _header_0] ] DEBUG - Component - renderHead: [ModalWindow [Component id = innerModalWindow] ] DEBUG - Component - renderHead: [AjaxLink [Component id = modalLink] ] DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - Component - renderHead: [HtmlHeaderContainer [Component id = _header_0] ] DEBUG - Component - renderHead: [OuterModalContent [Component id = 1] ] DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - Page - Rendered [HtmlHeaderContainer [Component id = _header_0] ] DEBUG - Component - End render [HtmlHeaderContainer [Component id = _header_0] ] DEBUG - Component - Begin render [AjaxLink [Component id = modalLink] ] DEBUG - Page - Rendered [AjaxLink [Component id = modalLink] ] DEBUG - Component - End render [AjaxLink [Component id = modalLink] ] DEBUG - Component - Begin render [ModalWindow [Component id = innerModalWindow] ] DEBUG - Page - Rendered [ModalWindow [Component id = innerModalWindow] ] DEBUG - Component - End render [ModalWindow [Component id = innerModalWindow] ] DEBUG - Page - Rendered [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 1] DEBUG - Component - End render [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 1] DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' attempting to acquire lock to page with id '1' DEBUG - PageAccessSynchronizer - qtp2128350680-16 acquired lock to page 1 DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 1] , request org.apache.wicket.protocol.http.servlet.ServletWebRequest@3826515f DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 1] , request org.apache.wicket.protocol.http.servlet.ServletWebRequest@3826515f DEBUG - taStore$PageSavingRunnable - Saving asynchronously: Entry [sessionId=1hzi2k42flzu0tvppe3g1jdj4, pageId=1] ... DEBUG - DiskDataStore - Storing data for page with id '1' in session with id '1hzi2k42flzu0tvppe3g1jdj4' DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' released lock to page with id '1' DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' notifying blocked threads DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/wicket/page' DEBUG - CompoundRequestMapper - One compatible mapper found for URL 'wicket/page?1-1.IBehaviorListener.0-modalLink&_=1371250797748' -> 'Mapper: org.apache.wicket.core.request.mapper.PageInstanceMapper; Score: 2147483647' DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' attempting to acquire lock to page with id '1' DEBUG - PageAccessSynchronizer - qtp2128350680-16 acquired lock to page 1 DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' attempting to acquire lock to page with id '2' DEBUG - PageAccessSynchronizer - qtp2128350680-16 acquired lock to page 2 DEBUG - MarkupContainer - Add header to [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 1] DEBUG - Component - renderHead: [WebMarkupContainer [Component id = content] ] DEBUG - Component - renderHead: [ModalWindow [Component id = innerModalWindow] ] DEBUG - Component - Begin render [ModalWindow [Component id = innerModalWindow] ] DEBUG - Component - Begin render [WebMarkupContainer [Component id = content] ] DEBUG - Page - Rendered [WebMarkupContainer [Component id = content] ] DEBUG - Component - End render [WebMarkupContainer [Component id = content] ] DEBUG - Page - Rendered [ModalWindow [Component id = innerModalWindow] ] DEBUG - Component - End render [ModalWindow [Component id = innerModalWindow] ] DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 1] , request org.apache.wicket.protocol.http.servlet.ServletWebRequest@74f69620 DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 1] , request org.apache.wicket.protocol.http.servlet.ServletWebRequest@74f69620 DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.OuterModalContent, id = 1, render count = 1] , request org.apache.wicket.protocol.http.servlet.ServletWebRequest@74f69620 DEBUG - Page - ending request for page [Page class = com.qs.NestedModals.InnerModalContent, id = 2, render count = 0] , request org.apache.wicket.protocol.http.servlet.ServletWebRequest@74f69620 DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' released lock to page with id '2' DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' notifying blocked threads DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' released lock to page with id '1' DEBUG - PageAccessSynchronizer - 'qtp2128350680-16' notifying blocked threads DEBUG - taStore$PageSavingRunnable - Saving asynchronously: Entry [sessionId=1hzi2k42flzu0tvppe3g1jdj4, pageId=1] ... DEBUG - DiskDataStore - Storing data for page with id '1' in session with id '1hzi2k42flzu0tvppe3g1jdj4' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/bookmarkable/com.qs.NestedModals.InnerModalContent' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/bookmarkable/com.qs.NestedModals.InnerModalContent' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/bookmarkable/com.qs.NestedModals.InnerModalContent' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/bookmarkable/com.qs.NestedModals.InnerModalContent' DEBUG - CompoundRequestMapper - No compatible mapper found for URL 'bookmarkable/com.qs.NestedModals.InnerModalContent' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/bookmarkable/com.qs.NestedModals.InnerModalContent' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/bookmarkable/com.qs.NestedModals.InnerModalContent' DEBUG - ServletWebRequest - Calculating context relative path from: context path '', filterPrefix '', uri '/bookmarkable/com.qs.NestedModals.InnerModalContent' DEBUG - RequestCycle - No suitable handler found for URL bookmarkable/com.qs.NestedModals.InnerModalContent, falling back to container to process this request
          Hide
          Martin Grigorov added a comment -

          An additional check in PageInstanceMapper that matches on baseUrl 'page?...' and request url 'page?...' fixed this problem.
          There is no need of ie8_url in modal window code.

          Show
          Martin Grigorov added a comment - An additional check in PageInstanceMapper that matches on baseUrl 'page?...' and request url 'page?...' fixed this problem. There is no need of ie8_url in modal window code.
          Hide
          Martin Grigorov added a comment -

          I'm able to reproduce it now. Let me see...

          Show
          Martin Grigorov added a comment - I'm able to reproduce it now. Let me see...
          Hide
          Francesco Chicchiriccò added a comment -

          Any idea of which will be the "fix-for-version" of this issue? We are experiencing exactly this problem in SYNCOPE-370.
          Thanks.

          Show
          Francesco Chicchiriccò added a comment - Any idea of which will be the "fix-for-version" of this issue? We are experiencing exactly this problem in SYNCOPE-370 . Thanks.
          Hide
          Jered Myers added a comment -

          Here is the getUrl/getClientUrl values for a browser that is working. My earlier comment concerning getUrl was the failing IE7.

          BookmarkableMapper#matches() breaks:

          OuterModel
          getUrl: ?0-1.IBehaviorListener.0-modalLink&_=1368629344592
          getClientUrl: ?0
          getUrl: ?0-1.IBehaviorListener.0-modalLink&_=1368629344592
          getClientUrl: ?0
          getUrl: wicket/page?1
          getClientUrl: wicket/page?1

          InnerModal:
          getUrl: wicket/page?1-1.IBehaviorListener.0-modalLink&_=1368629545878
          getClientUrl: wicket/page?1
          getUrl: wicket/bookmarkable/com.qs.NestedModals.InnerModalContent
          getClientUrl: wicket/bookmarkable/com.qs.NestedModals.InnerModalContent
          getUrl: wicket/bookmarkable/com.qs.NestedModals.InnerModalContent
          getClientUrl: wicket/bookmarkable/com.qs.NestedModals.InnerModalContent

          As mentioned in Martin's earlier comment the difference is the "wicket/" at the front of the inner modal urls.

          Show
          Jered Myers added a comment - Here is the getUrl/getClientUrl values for a browser that is working. My earlier comment concerning getUrl was the failing IE7. BookmarkableMapper#matches() breaks: OuterModel getUrl: ?0-1.IBehaviorListener.0-modalLink&_=1368629344592 getClientUrl: ?0 getUrl: ?0-1.IBehaviorListener.0-modalLink&_=1368629344592 getClientUrl: ?0 getUrl: wicket/page?1 getClientUrl: wicket/page?1 InnerModal: getUrl: wicket/page?1-1.IBehaviorListener.0-modalLink&_=1368629545878 getClientUrl: wicket/page?1 getUrl: wicket/bookmarkable/com.qs.NestedModals.InnerModalContent getClientUrl: wicket/bookmarkable/com.qs.NestedModals.InnerModalContent getUrl: wicket/bookmarkable/com.qs.NestedModals.InnerModalContent getClientUrl: wicket/bookmarkable/com.qs.NestedModals.InnerModalContent As mentioned in Martin's earlier comment the difference is the "wicket/" at the front of the inner modal urls.
          Hide
          Martin Grigorov added a comment -

          Hmmm.
          I see why the improvement in BookmarkableMapper doesn't match - the second getClientUrl() has no 'wicket' (the namespace) in it. It seems the base url of the inned page is calculated against the baseUrl of the outer page.
          I'm not sure whether this is a bug in the calculation of the baseUrl or not.

          Show
          Martin Grigorov added a comment - Hmmm. I see why the improvement in BookmarkableMapper doesn't match - the second getClientUrl() has no 'wicket' (the namespace) in it. It seems the base url of the inned page is calculated against the baseUrl of the outer page. I'm not sure whether this is a bug in the calculation of the baseUrl or not.
          Hide
          Jered Myers added a comment -

          They alternate starting with getUrl...
          getUrl: wicket/page?3-1.IBehaviorListener.0-modalLink&_=1368546654579
          getClientUrl: wicket/page?3
          getUrl: bookmarkable/com.qs.NestedModals.InnerModalContent
          getClientUrl: bookmarkable/com.qs.NestedModals.InnerModalContent

          Show
          Jered Myers added a comment - They alternate starting with getUrl... getUrl: wicket/page?3-1.IBehaviorListener.0-modalLink&_=1368546654579 getClientUrl: wicket/page?3 getUrl: bookmarkable/com.qs.NestedModals.InnerModalContent getClientUrl: bookmarkable/com.qs.NestedModals.InnerModalContent
          Hide
          Martin Grigorov added a comment -

          It is not clear to me which url is request.getUrl() and which is #getClientUrl().

          Show
          Martin Grigorov added a comment - It is not clear to me which url is request.getUrl() and which is #getClientUrl().
          Hide
          Jered Myers added a comment -

          I found my problem. The last log I posted is accurate.

          BookmarkableMapper#matches() breaks:

          Outer Modal (getUrl then getClientUrl alternate):
          ?1-1.IBehaviorListener.0-modalLink&_=1368546463922
          ?1
          ?1-1.IBehaviorListener.0-modalLink&_=1368546463922
          ?1
          wicket/page?3
          wicket/page?3

          Inner Modal (getUrl then getClientUrl alternate):
          wicket/page?3-1.IBehaviorListener.0-modalLink&_=1368546654579
          wicket/page?3
          bookmarkable/com.qs.NestedModals.InnerModalContent
          bookmarkable/com.qs.NestedModals.InnerModalContent
          bookmarkable/com.qs.NestedModals.InnerModalContent
          bookmarkable/com.qs.NestedModals.InnerModalContent

          Show
          Jered Myers added a comment - I found my problem. The last log I posted is accurate. BookmarkableMapper#matches() breaks: Outer Modal (getUrl then getClientUrl alternate): ?1-1.IBehaviorListener.0-modalLink&_=1368546463922 ?1 ?1-1.IBehaviorListener.0-modalLink&_=1368546463922 ?1 wicket/page?3 wicket/page?3 Inner Modal (getUrl then getClientUrl alternate): wicket/page?3-1.IBehaviorListener.0-modalLink&_=1368546654579 wicket/page?3 bookmarkable/com.qs.NestedModals.InnerModalContent bookmarkable/com.qs.NestedModals.InnerModalContent bookmarkable/com.qs.NestedModals.InnerModalContent bookmarkable/com.qs.NestedModals.InnerModalContent
          Show
          Martin Grigorov added a comment - https://repository.apache.org/content/groups/snapshots/org/apache/wicket/wicket-core/6.8.0-SNAPSHOT/wicket-core-6.8.0-20130514.121521-43-sources.jar has the change.
          Hide
          Jered Myers added a comment -

          It looks like your changes are not in the snapshot. I am looking at the latest snapshot and it has the suffix of the snapshot and it is showing 2130514.121521-41. Is that before your commit?

          Show
          Jered Myers added a comment - It looks like your changes are not in the snapshot. I am looking at the latest snapshot and it has the suffix of the snapshot and it is showing 2130514.121521-41. Is that before your commit?
          Hide
          Martin Grigorov added a comment -

          Please set a breakpoint at org.apache.wicket.core.request.mapper.BookmarkableMapper#matches() and see what are the values of request.getUrl() and request.getClientUrl() with IE7.
          Thanks!

          Show
          Martin Grigorov added a comment - Please set a breakpoint at org.apache.wicket.core.request.mapper.BookmarkableMapper#matches() and see what are the values of request.getUrl() and request.getClientUrl() with IE7. Thanks!
          Hide
          Jered Myers added a comment -

          Still fails.

          Fails: IE 7
          DEBUG - Server - REQUEST /bookmarkable/com.qs.NestedModals.InnerModalContent on BlockingHttpConnection@66fbf51d,g=HttpGenerator

          {s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-5,l=35,c=0},r=10
          DEBUG - ContextHandler - scope null||/bookmarkable/com.qs.NestedModals.InnerModalContent @ o.e.j.w.WebAppContext{/,file:/home/jmyers/workspace_wicket/NestedModals/src/main/webapp/},src/main/webapp
          DEBUG - ContextHandler - context=||/bookmarkable/com.qs.NestedModals.InnerModalContent @ o.e.j.w.WebAppContext{/,file:/home/jmyers/workspace_wicket/NestedModals/src/main/webapp/},src/main/webapp
          DEBUG - session - Got Session ID whd5bajr4j9azedyzt2nbr4r from cookie
          DEBUG - session - sessionManager=org.eclipse.jetty.server.session.HashSessionManager@28ae4646
          DEBUG - session - session=org.eclipse.jetty.server.session.HashedSession:whd5bajr4j9azedyzt2nbr4r@831577209
          DEBUG - ServletHandler - servlet |/bookmarkable/com.qs.NestedModals.InnerModalContent|null -> default
          DEBUG - ServletHandler - chain=wicket.NestedModals->default
          DEBUG - ServletHandler - call filter wicket.NestedModals
          DEBUG - ServletHandler - call servlet default
          DEBUG - DefaultServlet - Resource /bookmarkable/com.qs.NestedModals.InnerModalContent.gz=null
          DEBUG - DefaultServlet - Resource /bookmarkable/com.qs.NestedModals.InnerModalContent=null
          DEBUG - DefaultServlet - uri=/bookmarkable/com.qs.NestedModals.InnerModalContent resource=null
          DEBUG - Server - RESPONSE /bookmarkable/com.qs.NestedModals.InnerModalContent 404


          Passes: Chromium 25.0.1364.160 (Developer Build 25.0.1364.160-0ubuntu0.11.10.1) Ubuntu 11.10
          DEBUG - Server - REQUEST /wicket/bookmarkable/com.qs.NestedModals.InnerModalContent on BlockingHttpConnection@4c9549af,g=HttpGenerator{s=0,h=-1,b=-1,c=-1}

          ,p=HttpParser

          {s=-5,l=89,c=0}

          ,r=6
          DEBUG - ContextHandler - scope null||/wicket/bookmarkable/com.qs.NestedModals.InnerModalContent @ o.e.j.w.WebAppContext

          {/,file:/home/jmyers/workspace_wicket/NestedModals/src/main/webapp/}

          ,src/main/webapp
          DEBUG - ContextHandler - context=||/wicket/bookmarkable/com.qs.NestedModals.InnerModalContent @ o.e.j.w.WebAppContext

          {/,file:/home/jmyers/workspace_wicket/NestedModals/src/main/webapp/}

          ,src/main/webapp
          DEBUG - session - Got Session ID 1eds8fn3jvlm1db7fi9kcmh52 from cookie
          DEBUG - session - sessionManager=org.eclipse.jetty.server.session.HashSessionManager@28ae4646
          DEBUG - session - session=org.eclipse.jetty.server.session.HashedSession:1eds8fn3jvlm1db7fi9kcmh52@124596294
          DEBUG - ServletHandler - servlet |/wicket/bookmarkable/com.qs.NestedModals.InnerModalContent|null -> default
          DEBUG - ServletHandler - chain=wicket.NestedModals->default
          DEBUG - ServletHandler - call filter wicket.NestedModals
          DEBUG - WebAppClassLoader - loaded class com.qs.NestedModals.InnerModalContent from sun.misc.Launcher$AppClassLoader@5acac268
          DEBUG - Server - RESPONSE /wicket/bookmarkable/com.qs.NestedModals.InnerModalContent 200

          Show
          Jered Myers added a comment - Still fails. Fails: IE 7 DEBUG - Server - REQUEST /bookmarkable/com.qs.NestedModals.InnerModalContent on BlockingHttpConnection@66fbf51d,g=HttpGenerator {s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-5,l=35,c=0},r=10 DEBUG - ContextHandler - scope null||/bookmarkable/com.qs.NestedModals.InnerModalContent @ o.e.j.w.WebAppContext{/,file:/home/jmyers/workspace_wicket/NestedModals/src/main/webapp/},src/main/webapp DEBUG - ContextHandler - context=||/bookmarkable/com.qs.NestedModals.InnerModalContent @ o.e.j.w.WebAppContext{/,file:/home/jmyers/workspace_wicket/NestedModals/src/main/webapp/},src/main/webapp DEBUG - session - Got Session ID whd5bajr4j9azedyzt2nbr4r from cookie DEBUG - session - sessionManager=org.eclipse.jetty.server.session.HashSessionManager@28ae4646 DEBUG - session - session=org.eclipse.jetty.server.session.HashedSession:whd5bajr4j9azedyzt2nbr4r@831577209 DEBUG - ServletHandler - servlet |/bookmarkable/com.qs.NestedModals.InnerModalContent|null -> default DEBUG - ServletHandler - chain=wicket.NestedModals->default DEBUG - ServletHandler - call filter wicket.NestedModals DEBUG - ServletHandler - call servlet default DEBUG - DefaultServlet - Resource /bookmarkable/com.qs.NestedModals.InnerModalContent.gz=null DEBUG - DefaultServlet - Resource /bookmarkable/com.qs.NestedModals.InnerModalContent=null DEBUG - DefaultServlet - uri=/bookmarkable/com.qs.NestedModals.InnerModalContent resource=null DEBUG - Server - RESPONSE /bookmarkable/com.qs.NestedModals.InnerModalContent 404 Passes: Chromium 25.0.1364.160 (Developer Build 25.0.1364.160-0ubuntu0.11.10.1) Ubuntu 11.10 DEBUG - Server - REQUEST /wicket/bookmarkable/com.qs.NestedModals.InnerModalContent on BlockingHttpConnection@4c9549af,g=HttpGenerator{s=0,h=-1,b=-1,c=-1} ,p=HttpParser {s=-5,l=89,c=0} ,r=6 DEBUG - ContextHandler - scope null||/wicket/bookmarkable/com.qs.NestedModals.InnerModalContent @ o.e.j.w.WebAppContext {/,file:/home/jmyers/workspace_wicket/NestedModals/src/main/webapp/} ,src/main/webapp DEBUG - ContextHandler - context=||/wicket/bookmarkable/com.qs.NestedModals.InnerModalContent @ o.e.j.w.WebAppContext {/,file:/home/jmyers/workspace_wicket/NestedModals/src/main/webapp/} ,src/main/webapp DEBUG - session - Got Session ID 1eds8fn3jvlm1db7fi9kcmh52 from cookie DEBUG - session - sessionManager=org.eclipse.jetty.server.session.HashSessionManager@28ae4646 DEBUG - session - session=org.eclipse.jetty.server.session.HashedSession:1eds8fn3jvlm1db7fi9kcmh52@124596294 DEBUG - ServletHandler - servlet |/wicket/bookmarkable/com.qs.NestedModals.InnerModalContent|null -> default DEBUG - ServletHandler - chain=wicket.NestedModals->default DEBUG - ServletHandler - call filter wicket.NestedModals DEBUG - WebAppClassLoader - loaded class com.qs.NestedModals.InnerModalContent from sun.misc.Launcher$AppClassLoader@5acac268 DEBUG - Server - RESPONSE /wicket/bookmarkable/com.qs.NestedModals.InnerModalContent 200
          Hide
          Martin Grigorov added a comment -

          Hi Jered,

          I've just added the same improvement to BookmarkableMapper:
          https://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=commitdiff;h=6e794ad060af7512a6f0e9a0d445037047aad0e1

          Can you try again ?

          Show
          Martin Grigorov added a comment - Hi Jered, I've just added the same improvement to BookmarkableMapper: https://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=commitdiff;h=6e794ad060af7512a6f0e9a0d445037047aad0e1 Can you try again ?
          Hide
          Martin Grigorov added a comment -

          I was under impression that the urls were like 'wicket/page?...' so I improved PageInstanceMapper.
          But now I see that it is 'wicket/bookmarkable/...' so BookmarkableMapper should be improved too.

          Show
          Martin Grigorov added a comment - I was under impression that the urls were like 'wicket/page?...' so I improved PageInstanceMapper. But now I see that it is 'wicket/bookmarkable/...' so BookmarkableMapper should be improved too.
          Hide
          Jered Myers added a comment -

          Here some of the logs from one browser that passes and one that fails. Observe the first ServletHandler line. The passing test has "/wicket" before "/bookmarkable".

          Mozilla Firefox for Ubuntu 20.0: Passes testing
          DEBUG - session -
          session=org.eclipse.jetty.server.session.HashedSession:seng756mxz3m6zc61wrzlxq@1486404598
          DEBUG - ServletHandler - servlet |/wicket/bookmarkable/com.qs.NestedModals.InnerModalContent|null -> default
          DEBUG - ServletHandler - chain=wicket.NestedModals->default
          DEBUG - ServletHandler - call filter wicket.NestedModals
          DEBUG - WebAppClassLoader - loaded class com.qs.NestedModals.InnerModalContent from sun.misc.Launcher$AppClassLoader@12360be0

          IE 7: Failes testing
          DEBUG - session - session=org.eclipse.jetty.server.session.HashedSession:uidhztsp9xah1dqkp6b7qm7h8@1320687469
          DEBUG - ServletHandler - servlet |/bookmarkable/com.qs.NestedModals.InnerModalContent|null -> default
          DEBUG - ServletHandler - chain=wicket.NestedModals->default
          DEBUG - ServletHandler - call filter wicket.NestedModals
          DEBUG - ServletHandler - call servlet default
          DEBUG - DefaultServlet - Resource /bookmarkable/com.qs.NestedModals.InnerModalContent.gz=null
          DEBUG - DefaultServlet - Resource /bookmarkable/com.qs.NestedModals.InnerModalContent=null
          DEBUG - DefaultServlet - uri=/bookmarkable/com.qs.NestedModals.InnerModalContent resource=null
          DEBUG - Server - RESPONSE /bookmarkable/com.qs.NestedModals.InnerModalContent 404

          Show
          Jered Myers added a comment - Here some of the logs from one browser that passes and one that fails. Observe the first ServletHandler line. The passing test has "/wicket" before "/bookmarkable". Mozilla Firefox for Ubuntu 20.0: Passes testing DEBUG - session - session=org.eclipse.jetty.server.session.HashedSession:seng756mxz3m6zc61wrzlxq@1486404598 DEBUG - ServletHandler - servlet |/wicket/bookmarkable/com.qs.NestedModals.InnerModalContent|null -> default DEBUG - ServletHandler - chain=wicket.NestedModals->default DEBUG - ServletHandler - call filter wicket.NestedModals DEBUG - WebAppClassLoader - loaded class com.qs.NestedModals.InnerModalContent from sun.misc.Launcher$AppClassLoader@12360be0 IE 7: Failes testing DEBUG - session - session=org.eclipse.jetty.server.session.HashedSession:uidhztsp9xah1dqkp6b7qm7h8@1320687469 DEBUG - ServletHandler - servlet |/bookmarkable/com.qs.NestedModals.InnerModalContent|null -> default DEBUG - ServletHandler - chain=wicket.NestedModals->default DEBUG - ServletHandler - call filter wicket.NestedModals DEBUG - ServletHandler - call servlet default DEBUG - DefaultServlet - Resource /bookmarkable/com.qs.NestedModals.InnerModalContent.gz=null DEBUG - DefaultServlet - Resource /bookmarkable/com.qs.NestedModals.InnerModalContent=null DEBUG - DefaultServlet - uri=/bookmarkable/com.qs.NestedModals.InnerModalContent resource=null DEBUG - Server - RESPONSE /bookmarkable/com.qs.NestedModals.InnerModalContent 404
          Hide
          Jered Myers added a comment -

          Martin Grigorov,
          The fix did not pass testing in IE7 using the NestedModals Quickstart. I still get a 404 error when opening the inner modal. I used the 6.8.0-SNAPSHOT which appeared to have your changes. The other patch submitted works. I will work on getting more information.

          Show
          Jered Myers added a comment - Martin Grigorov , The fix did not pass testing in IE7 using the NestedModals Quickstart. I still get a 404 error when opening the inner modal. I used the 6.8.0-SNAPSHOT which appeared to have your changes. The other patch submitted works. I will work on getting more information.
          Hide
          Martin Grigorov added a comment -

          I've pushed an improvement which I believe should solve this problem:
          https://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=commitdiff;h=a2f848f250401fdcb5a0687a72ff856bdd196df8

          The idea is that the request mapper that cares about requests to 'wicket/page' to match when the request url is 'page?...' and the base url is 'wicket/page'.

          Please try it and report back. I cannot reproduce the issue with my IE installation. Thanks!

          Show
          Martin Grigorov added a comment - I've pushed an improvement which I believe should solve this problem: https://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=commitdiff;h=a2f848f250401fdcb5a0687a72ff856bdd196df8 The idea is that the request mapper that cares about requests to 'wicket/page' to match when the request url is 'page?...' and the base url is 'wicket/page'. Please try it and report back. I cannot reproduce the issue with my IE installation. Thanks!
          Hide
          Shiva Durishetti added a comment -

          Am glad if u mention when wicket 6.8.0 is going to be released.I am highly depend on this new version which going to resolve lot of bugs in my code.

          Show
          Shiva Durishetti added a comment - Am glad if u mention when wicket 6.8.0 is going to be released.I am highly depend on this new version which going to resolve lot of bugs in my code.
          Hide
          Shiva Durishetti added a comment -

          I put a break point in CompoundRequestMapper at line 149 (the mapRequest
          function). Here are the results of request.getURL.toString():
          IE7:

          • wicket/page?8 (first ModalWindow)
          • page?9 (nested ModalWindow)

          Chrome, IE9 (browser IE7, document IE7):

          • wicket/page?8 (first ModalWindow)
          • wicket/page?9 (nested ModalWindow)
          Show
          Shiva Durishetti added a comment - I put a break point in CompoundRequestMapper at line 149 (the mapRequest function). Here are the results of request.getURL.toString(): IE7: wicket/page?8 (first ModalWindow) page?9 (nested ModalWindow) Chrome, IE9 (browser IE7, document IE7): wicket/page?8 (first ModalWindow) wicket/page?9 (nested ModalWindow)
          Hide
          Shiva Durishetti added a comment -

          am using wicket version 6.5.0,in chrome am not getting any issue only in ie7 and ie8 am getting this issue..i need to fix this because am using 2 or 3 nested modal windows in my project....in our pom we are adding wicket-extensions-6.5.0.jar we dont access to modalwindow.java to modify.....

          Show
          Shiva Durishetti added a comment - am using wicket version 6.5.0,in chrome am not getting any issue only in ie7 and ie8 am getting this issue..i need to fix this because am using 2 or 3 nested modal windows in my project....in our pom we are adding wicket-extensions-6.5.0.jar we dont access to modalwindow.java to modify.....
          Hide
          Martin Grigorov added a comment -

          Give us more details of your setup.
          With which browser(s) you experience this problem ?

          I'd recommend you to checkout Wicket from its Git repo and apply the suggested patch and build Wicket locally.

          Show
          Martin Grigorov added a comment - Give us more details of your setup. With which browser(s) you experience this problem ? I'd recommend you to checkout Wicket from its Git repo and apply the suggested patch and build Wicket locally.
          Hide
          Shiva Durishetti added a comment -

          as per your previous comments i've used my own custommodalwindow which extends panel and in that class i replaced the if condition in getWindowOpenJavaScript method with your 'if' condition code but still am not able to fix that issue...............any clues for fixing this issue temporarily.

          Show
          Shiva Durishetti added a comment - as per your previous comments i've used my own custommodalwindow which extends panel and in that class i replaced the if condition in getWindowOpenJavaScript method with your 'if' condition code but still am not able to fix that issue...............any clues for fixing this issue temporarily.
          Hide
          Martin Grigorov added a comment -

          I just assigned "Fix Version" to 6.8.0 so we do not forget to review (and apply) the provided patch.

          Show
          Martin Grigorov added a comment - I just assigned "Fix Version" to 6.8.0 so we do not forget to review (and apply) the provided patch.
          Hide
          Martin Grigorov added a comment -

          Look the ticket status - Unresolved.
          Fix Version - None.

          The ticket is still open.

          Show
          Martin Grigorov added a comment - Look the ticket status - Unresolved. Fix Version - None. The ticket is still open.
          Hide
          Shiva Durishetti added a comment -

          Kindly let me know the wicket version, in which this issue has been fixed....Am using 6.6.0 its responding 404 error in ie7 and ie8

          Show
          Shiva Durishetti added a comment - Kindly let me know the wicket version, in which this issue has been fixed....Am using 6.6.0 its responding 404 error in ie7 and ie8
          Hide
          Jared Sol added a comment -

          Attached the diff/patch file.

          Show
          Jared Sol added a comment - Attached the diff/patch file.
          Hide
          Martin Grigorov added a comment -

          Please attach the change in diff/patch format to the ticket so it is easier to see where is the difference.
          Thanks!

          Show
          Martin Grigorov added a comment - Please attach the change in diff/patch format to the ticket so it is easier to see where is the difference. Thanks!
          Hide
          Jared Sol added a comment - - edited

          When I made the following changes to ModalWindow the problem does not occur in ie_7 or ie_8. This seems pretty hackish to me but it seems to work. Basically I am just forcing the ie_8 url to be determined relative to the tab and not the outer modal.

          protected final String getWindowOpenJavaScript()
          {
          .....
          if (isCustomComponent() == false)
          {
          Page page = createPage();
          if (page == null)

          { throw new WicketRuntimeException("Error creating page for modal dialog."); }

          CharSequence pageUrl, ie8_pageUrl = null;
          RequestCycle requestCycle = RequestCycle.get();

          Url original = requestCycle.getUrlRenderer().getBaseUrl();

          if (page.isPageStateless())

          { pageUrl = requestCycle.urlFor(page.getClass(), page.getPageParameters()); // For ie_7 and ie_8 we want to evaluate the url from the tab and not the page. So I'm setting the BaseUrl to a new Url to // force this to happen and reverting it back after the url has been generated for ie_7 and ie_8. requestCycle.getUrlRenderer().setBaseUrl(new Url()); ie8_pageUrl = requestCycle.urlFor(page.getClass(), page.getPageParameters()); requestCycle.getUrlRenderer().setBaseUrl(original); appendAssignment(buffer, "settings.ie8_src", ie8_pageUrl); }

          else

          { IRequestHandler handler = new RenderPageRequestHandler(new PageProvider(page)); pageUrl = requestCycle.urlFor(handler); // For ie_7 and ie_8 we want to evaluate the url from the tab and not the page. So I'm setting the BaseUrl to a new Url to // force this to happen and reverting it back after the url has been generated for ie_7 and ie_8. requestCycle.getUrlRenderer().setBaseUrl(new Url()); ie8_pageUrl = requestCycle.getUrlRenderer().renderRelativeUrl(requestCycle.mapUrlFor(handler)); requestCycle.getUrlRenderer().setBaseUrl(original); appendAssignment(buffer, "settings.ie8_src", ie8_pageUrl); }

          appendAssignment(buffer, "settings.src", pageUrl);
          }
          }

          Show
          Jared Sol added a comment - - edited When I made the following changes to ModalWindow the problem does not occur in ie_7 or ie_8. This seems pretty hackish to me but it seems to work. Basically I am just forcing the ie_8 url to be determined relative to the tab and not the outer modal. protected final String getWindowOpenJavaScript() { ..... if (isCustomComponent() == false) { Page page = createPage(); if (page == null) { throw new WicketRuntimeException("Error creating page for modal dialog."); } CharSequence pageUrl, ie8_pageUrl = null; RequestCycle requestCycle = RequestCycle.get(); Url original = requestCycle.getUrlRenderer().getBaseUrl(); if (page.isPageStateless()) { pageUrl = requestCycle.urlFor(page.getClass(), page.getPageParameters()); // For ie_7 and ie_8 we want to evaluate the url from the tab and not the page. So I'm setting the BaseUrl to a new Url to // force this to happen and reverting it back after the url has been generated for ie_7 and ie_8. requestCycle.getUrlRenderer().setBaseUrl(new Url()); ie8_pageUrl = requestCycle.urlFor(page.getClass(), page.getPageParameters()); requestCycle.getUrlRenderer().setBaseUrl(original); appendAssignment(buffer, "settings.ie8_src", ie8_pageUrl); } else { IRequestHandler handler = new RenderPageRequestHandler(new PageProvider(page)); pageUrl = requestCycle.urlFor(handler); // For ie_7 and ie_8 we want to evaluate the url from the tab and not the page. So I'm setting the BaseUrl to a new Url to // force this to happen and reverting it back after the url has been generated for ie_7 and ie_8. requestCycle.getUrlRenderer().setBaseUrl(new Url()); ie8_pageUrl = requestCycle.getUrlRenderer().renderRelativeUrl(requestCycle.mapUrlFor(handler)); requestCycle.getUrlRenderer().setBaseUrl(original); appendAssignment(buffer, "settings.ie8_src", ie8_pageUrl); } appendAssignment(buffer, "settings.src", pageUrl); } }
          Hide
          Jared Sol added a comment -

          It appears that the request cycle ends up rendering the url by the call to renderUrl(Url url, IRequestHandler handler).

          This method has a line String renderedUrl = getUrlRenderer().renderUrl(url);

          The UrlRenderers renderUrlMethod then calls renderRelativeUrl(url).

          This method has a line List<String> baseUrlSegments = getBaseUrl().getSegments()

          The returned values between the outer and inner modal are different. The outer modal returns nothing [] while the inner modal returns [wicket, bookmarkable, com.qs.NestedModals.OuterModalContent]. I think this is what Martin was saying when the inner modal is calculated against the outer modal page. The segments in baseUrlSegments then get removed from the calculated url which strips the leading wicket/bookmarkable.

          Show
          Jared Sol added a comment - It appears that the request cycle ends up rendering the url by the call to renderUrl(Url url, IRequestHandler handler). This method has a line String renderedUrl = getUrlRenderer().renderUrl(url); The UrlRenderers renderUrlMethod then calls renderRelativeUrl(url). This method has a line List<String> baseUrlSegments = getBaseUrl().getSegments() The returned values between the outer and inner modal are different. The outer modal returns nothing [] while the inner modal returns [wicket, bookmarkable, com.qs.NestedModals.OuterModalContent] . I think this is what Martin was saying when the inner modal is calculated against the outer modal page. The segments in baseUrlSegments then get removed from the calculated url which strips the leading wicket/bookmarkable.
          Hide
          Jared Sol added a comment - - edited

          I can test a patch for this in both IE7 and IE8 when one is attempted. I'm trying to look into it more to get more information or how the mappers work. Currently I am not sure how to patch this.

          Show
          Jared Sol added a comment - - edited I can test a patch for this in both IE7 and IE8 when one is attempted. I'm trying to look into it more to get more information or how the mappers work. Currently I am not sure how to patch this.
          Hide
          Martin Grigorov added a comment -

          Usually the url for the page in the inner modal is calculated against the page in the outer modal because they are in iframes. But it seems IE7/8 calculates the relative url in the inner against the url of the tab/window.

          Show
          Martin Grigorov added a comment - Usually the url for the page in the inner modal is calculated against the page in the outer modal because they are in iframes. But it seems IE7/8 calculates the relative url in the inner against the url of the tab/window.
          Hide
          Jared Sol added a comment - - edited

          In IE7 and 8 when the inner modal url/src is hardcoded to /wicket/bookmarkable/com.qs.NestedModals.InnerModalContent instead of the generated ./com.qs.NestedModals.InnerModalContent as the value passed to this.content.contentWindow.location.replace() the problem is avoided.

          Show
          Jared Sol added a comment - - edited In IE7 and 8 when the inner modal url/src is hardcoded to /wicket/bookmarkable/com.qs.NestedModals.InnerModalContent instead of the generated ./com.qs.NestedModals.InnerModalContent as the value passed to this.content.contentWindow.location.replace() the problem is avoided.
          Hide
          Jered Myers added a comment -

          This bug is not replicating in Wicket 1.4.21

          Show
          Jered Myers added a comment - This bug is not replicating in Wicket 1.4.21
          Hide
          Jered Myers added a comment - - edited

          Below are some of my observations during testing. I compared my Chrome browser which has no problem to the IE 7 and IE 8 browsers with problems.

          modal.js
          When the modal window opens it hits the load function in modal.js. This function redirects to the content page at this line of code:

          if(Wicket.Browser.isIELessThan9())

          { this.content.contentWindow.location.replace(this.settings.ie8_src); }

          else

          { this.content.contentWindow.location.replace(this.settings.src); }

          The value that is set in settings.ie8_src and settings.src is the same between my Chrome browser and my IE 7 and 8 browsers. The outer modal is "./wicket/bookmarkable/com.qs.NestedModals.OuterModalContent" and the inner modal is "./com.qs.NestedModals.InnerModalContent". Once the request hits the Jetty server on Chrome for the inner modal the _serveletPath is "/wicket/bookmarkable/com.qs.NestedModals.InnerModalContent" in IE when I see the error it is "/com.qs.NestedModals.InnerModalContent"....so window.loaction.replace("./com.qs.NestedModals.InnerModalContent") correctly changes to "/wicket/bookmarkable/com.qs.NestedModals.InnerModalContent" in Chrome, but not in IE.

          ModalWindow.java
          In org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow#getWindowOpenJavaScript(), there is code to set the "settings.ie8_src" attribute which modal.js uses. The page is stateless, so the first path is followed. Here is that code:

          if (page.isPageStateless())

          { pageUrl = requestCycle.urlFor(page.getClass(), page.getPageParameters()); appendAssignment(buffer, "settings.ie8_src", pageUrl); }

          else

          { IRequestHandler handler = new RenderPageRequestHandler(new PageProvider(page)); pageUrl = requestCycle.urlFor(handler); String ie8_pageUrl = requestCycle.getUrlRenderer().renderRelativeUrl(requestCycle.mapUrlFor(handler)); appendAssignment(buffer, "settings.ie8_src", ie8_pageUrl); }

          appendAssignment(buffer, "settings.src", pageUrl);

          I attempted to call setStateLessHint(false) in my content pages to see if the different URL in the bottom path would get around the problem, but that didn't resolve the problem. Also, the bottom path had the same value for both pageUrl and ie8_pageUrl.

          Other
          The problem, in the end, is that there are no mappers that can find the page. As an experiment, I setup the inner content page as a mounted page. This solved my problem in the Quickstart, but didn't fix the problem I have in my main application (I was hopping to just mount the few pages I needed to nest as a work around).

          Show
          Jered Myers added a comment - - edited Below are some of my observations during testing. I compared my Chrome browser which has no problem to the IE 7 and IE 8 browsers with problems. modal.js When the modal window opens it hits the load function in modal.js. This function redirects to the content page at this line of code: if(Wicket.Browser.isIELessThan9()) { this.content.contentWindow.location.replace(this.settings.ie8_src); } else { this.content.contentWindow.location.replace(this.settings.src); } The value that is set in settings.ie8_src and settings.src is the same between my Chrome browser and my IE 7 and 8 browsers. The outer modal is "./wicket/bookmarkable/com.qs.NestedModals.OuterModalContent" and the inner modal is "./com.qs.NestedModals.InnerModalContent". Once the request hits the Jetty server on Chrome for the inner modal the _serveletPath is "/wicket/bookmarkable/com.qs.NestedModals.InnerModalContent" in IE when I see the error it is "/com.qs.NestedModals.InnerModalContent"....so window.loaction.replace("./com.qs.NestedModals.InnerModalContent") correctly changes to "/wicket/bookmarkable/com.qs.NestedModals.InnerModalContent" in Chrome, but not in IE. ModalWindow.java In org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow#getWindowOpenJavaScript(), there is code to set the "settings.ie8_src" attribute which modal.js uses. The page is stateless, so the first path is followed. Here is that code: if (page.isPageStateless()) { pageUrl = requestCycle.urlFor(page.getClass(), page.getPageParameters()); appendAssignment(buffer, "settings.ie8_src", pageUrl); } else { IRequestHandler handler = new RenderPageRequestHandler(new PageProvider(page)); pageUrl = requestCycle.urlFor(handler); String ie8_pageUrl = requestCycle.getUrlRenderer().renderRelativeUrl(requestCycle.mapUrlFor(handler)); appendAssignment(buffer, "settings.ie8_src", ie8_pageUrl); } appendAssignment(buffer, "settings.src", pageUrl); I attempted to call setStateLessHint(false) in my content pages to see if the different URL in the bottom path would get around the problem, but that didn't resolve the problem. Also, the bottom path had the same value for both pageUrl and ie8_pageUrl. Other The problem, in the end, is that there are no mappers that can find the page. As an experiment, I setup the inner content page as a mounted page. This solved my problem in the Quickstart, but didn't fix the problem I have in my main application (I was hopping to just mount the few pages I needed to nest as a work around).

            People

            • Assignee:
              Martin Grigorov
              Reporter:
              Jered Myers
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development