Login Register

XmlHttpRequest

Problems using Dojo with Firefox 3

Hello,

I have been experiencing problems using Dojo 1.0.2 with Firefox 3. What I am seeing is that essentially Firefox is finishing the SCRIPT tag that is loading Dojo and proceeding to the next SCRIPT tag (which contains my application that uses Dojo) before Dojo is loaded. Since Dojo itself is not loaded, my application errors out.

Here are the relevant script tags that I am using to load Dojo:

djConfig = { parseOnLoad:true, parseWidgets: false, searchIds: [], isDebug: false, debugAtAllCosts: false};

dojo.xhrGet and local XML files in Mozilla

I am trying to use dojo.xhrGet to load an XML file when all my pages are loaded from the local filesystem (not on a server). The file contains valid XML but does not have an XML extension (let's say it's xml_data.dat).

Because it's a local file, no http headers are used to set the content/mime type as it looks like Mozilla (Firefox 2 and Seamonkey) is trying to guess the mime type by file extension. That fails and I only get a responseText in the xhr.

I got around it by using XMLHttpRequest.overrideMimeType() method available in Mozilla browsers.

Maximum Simultaneous AJAX requests – browser limitation

Hi All,
I am working on a screen which has several grids and charts that need to refresh at a fixed interval.
The initial design involves 1 large AJAX request to fetch all the data for the entire screen. But as expected the JSON is very large and too unwieldy to handle. As an alternative we decided to have 5 AJAX requests instead of one that will be fired together to fetch data from the server.

Permission denied to call method XMLHttpRequest.open

i am new to Dojo.
I have meet a prob,error message didn't give me more info,only this,

Permission denied to call method XMLHttpRequest.open
[Break on this error] throw _13||Error(_12);

any clue will be appreciate.thanks.

And is that some good idea about debug,like tools or methods.any info or links resource is good enough.

DataStore and FilteringSelect

My problem is this: I'm having difficulty taking the JSON data I receive from a Servlet after transforming it from JSON text to a JSON Object and using it as a dojo.data.ItemFileReadStore data store in a dijit.form.FilteringSelect. Please see below for a detailed description of the problem.

Syndicate content