Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4202

Unable to use Modal Page in IE when underling page is in a mounted package

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.5.2
    • Fix Version/s: None
    • Component/s: wicket-extensions
    • Environment:
      Java: Oracle JDK 1.6.0_26
      Application OS: Windows 7 and Red Hat Enterprise Linux 5
      User OS: Windows
      Browser: Internet Explorer 8 (8.0.7600.16385)

      Description

      Unable to open a Modal Page dialog in Internet Explorer (IE) 7 and 8 when the underling (calling) page is mounted as a package in the web application.

      Modal Page is create like: http://www.wicket-library.com/wicket-examples/ajax/modal-window - "Show modal dialog with a page ".
      Add mountPackage("ie", xxxPage.class) in the WicketApplication.
      Unable to open the dialog in IE 7 or 8

      Error Shown:
      HTTP ERROR 404
      Problem accessing /ie/wicket/page. Reason:
      Not Found

      Notes:
      The Modal works fine in Chrome (15), Firefox (3.6) and IE 6.
      The Modal gets constructed.
      The Modal works fine when using mountPage("ie", xxxPage.class)

      Workaround:
      First mount the package you want.
      Second mount underling page (that calls the modal) on a separate path

      Example:
      mountPackage("yyy", A.class);
      mountPage("zzz", B.class);
      Where B is the page calling the Modal, and A is in the same package as B.

      I'll provide a quick start project to reproduce this issue.

        Attachments

        1. quickstart.zip
          26 kB
          Mathijs de Groot

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              madegroot Mathijs de Groot
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified