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

AJAXDownload from ModalWindow breaks Ajax on base page

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.5.3
    • None
    • wicket
    • Windows 7 Pro 64bit, Java 1.6.0_30, Maven 3.0.3, Google Chrome 17 (dev channel)
      Mac OS 10.5.8, Java 1.6.0_26, Maven 3.0.3, Google Chrome 17 (dev channel)

    Description

      Following the approach described here https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.html I implemented downloading a PDF from a ModalWindow. The page from where the ModalWindow is opened, also contains other Ajax functionality (like the AjaxLinks, etc.)

      After the file is downloaded and the ModalWindow is closed all my Ajax stuff on the base page, from which the ModalWindow was opened, are not working anymore. Only when I reload the page, the Ajax stuff is working again.

      This happens in Google Chrome but not in Safari and Firefox. Not sure if it's a Wicket or a Chrome specific problem.

      A quickstart example showing the problem is attached.

      Attachments

        1. myproject.zip
          31 kB
          heapifyman

        Activity

          People

            Unassigned Unassigned
            heapifyman heapifyman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: