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

IE bug causes wicket problems when id auto generation is active

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.4
    • wicket
    • None
    • Internet Explorer (Verified on version 6.0)
      Verified in wicket 1.3.3

    Description

      http://www.nabble.com/IE-bug-causes-wicket-problems-when-id-auto-generation-is-active-td17231936.html

      There seems to be a bug in Internet Explorer in the following scenario ...

      <html>
      <head></head>
      <body>
      <form id="ic"><img id="id"/></form>
      <script language="javascript">
      var form = document.getElementById('ic');
      alert(form.getAttribute('id'));
      </script>
      </body>
      </html>

      If an image on a form has an id that has as id content the text "id", then something strange happens in IE.
      You get an [object] instead of the actual id content. This can happen when the wicket automatic id generation is used.
      Could there be a workaround included within wicket to avoid this bug?
      (We have spent quite some time to debug this issue, so if wicket can include a workaround, it can save others the same debugging work)

      Thank you very much.

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            tomdesmet Tom Desmet
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: