rajeev
20 Jul 2007, 12:57 PM
I downloaded the latest version 1.1 RC1 of Ext and tried the samples. They all work fine under FireFox. However, under IE7 I have trouble fetching/displaying xml data using the Ext.lib.Ajax.request() method. At first I was getting "Access denied..." errors. When I replaced the following code in edit-grid.js:
proxy: new Ext.data.HttpProxy({url: 'plants.xml'}),
with
proxy: new Ext.data.HttpProxy({url: 'http://localhost/plants.xml'}),
I was able to get past this error message. However, the data is still not displayed.
I have been able to use the XMLHttpRequest.onreadystatechange event to read the data from an XML file using the XMLHttpRequest object under IE7. But Ext.lib.Ajax does not use this method. It polls the status property of this object. It is returning 12029 for the status.
Am I missing some configuration setting under IE7? Or do I need to tweak something in Ext?
proxy: new Ext.data.HttpProxy({url: 'plants.xml'}),
with
proxy: new Ext.data.HttpProxy({url: 'http://localhost/plants.xml'}),
I was able to get past this error message. However, the data is still not displayed.
I have been able to use the XMLHttpRequest.onreadystatechange event to read the data from an XML file using the XMLHttpRequest object under IE7. But Ext.lib.Ajax does not use this method. It polls the status property of this object. It is returning 12029 for the status.
Am I missing some configuration setting under IE7? Or do I need to tweak something in Ext?