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

DOM cleanup after Ajax calls

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Invalid
    • 1.3.0-beta3, 1.3.0-beta4, 1.3.0-rc1, 1.3.0-rc2, 1.3.0-final, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.4-M1, 1.4-M2, 1.4-M3
    • None
    • wicket
    • None
    • Firefox, Internet Explorer 6-7

    Description

      Making Ajax requests increases the size of the DOM on each subsequent request. Please see the link below for an example;

      http://www.wicket-library.com/wicket-examples/ajax/tabbed-panel.0

      Clicking "first tab" and running the following code in the location bar:

      javascript:alert(document.getElementsByTagName("*").length);

      Returns 54 however clicking "second tab" then "first tab" again returns 142. This number will keep on growing and growing as you click on different tabs (ajax requests).

      Attachments

        1. ajaxlink.tar.bz2
          4 kB
          Emond Papegaaij
        2. myproject.tgz
          5 kB
          Martijn Dashorst

        Activity

          People

            knopp Matej Knopp
            bmarvell Ben Marvell
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: