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

Use MSXMLHTTP ProgID lookup Check for MSXML http ajax objects for IE

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.4.19
    • Fix Version/s: None
    • Component/s: wicket
    • Labels:
    • Environment:
      Windows7, WindowsXP, Tomcat all versions, Internet Explorer 7, 8, 9.

      Description

      The IE team and MSXML team and also other client side oriented frameworks(see jQuery) are using a MSXML lookup for the ajax XHR transport object. Wicket 1.4.x versions are using the legacy new ActiveXObject("Microsoft.XMLHTTP") object. Some browsers may disable the object and may cause issues for ajax requests.

      http://blogs.msdn.com/b/xmlteam/archive/2006/10/23/using-the-right-version-of-msxml-in-internet-explorer.aspx

      I guess using a simple lookup for the MSXML object. The standard seems to be: Msxml2.XMLHTTP but, you may also lookup Msxml2.XMLHTTP.6.0 for IE8 and above.

      Using the right XHR object may add security and performance fixes provided by IE. The legacy Microsoft.XMLHTTP object is not recommended.

        Attachments

        1. WicketAjaxFORieAjax.patch
          1 kB
          Berlin Brown

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              berlinbrown Berlin Brown
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: