Login Register

error

Using Package system - error loading new .js file

Hello. I've been trying to use the package system for the first time to create a compressed release version of Dojo for my site. I was able to get the script to execute properly by running it with the following command:

build.bat profile=attic action=release releaseName=dojo-root optimize=shrinksafe layerOptimize=shrinksafe

I pulled the entire release directory into my project and I'm trying to reference the new .js file, but I'm getting a javascript error on page load saying it can't recognize "dojo". Here is some additional information.

Firefox 2.0.0.16 cannot load parser

I have a script which loads the dojo toolkit, it does not run and generates an error in Firefox 2.0.0.16, i do not get this problem in any other browser (Firefox 3, IE6 & IE7).

my code is:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<link rel="stylesheet" type="text/css" media="screen"
href="__SITEURL__/css/site.css" />
<style type="text/css">
@import "__SITEURL__/js/dijit/themes/tundra/tundra.css";

Getting an error "The stylesheet was not loaded because its MIME type, "text/html" is not "text/css".

Hi guys I'm kinda new to dojo - well just downloaded it a whiel ago and really woudl like to start using it but I seem to be getting this error when I run it in firefox

The stylesheet root/dijit/themes/soria/soria.css was not loaded because its MIME type, "text/html", is not "text/css".

And cos of that my example tryouts seem all messed up. I'd really appreciate any help on this guys

newbie dojo.data.ItemFileReadStore shows "error getting items" when assigned json data is from javascript

Hello,

I am trying to create dojo thumbnail using following syntax.

var mess = new Array();
                //getKfJasonData returns the pics in json format from javascript
                mess[0] = getKfJsonData();                 
                thmbData.data = mess[0];
                //I get correct output here in the alert
                alert ('data: ' + thmbData.data );

Error: dojo.body() is null or not an object !!

I have web application built on JSP, with dojo included on each page it is used (almost every page).
If during browsing i am not waiting for pages to fully load and navigate to another one,
dojo throws a java script exception


"Error: dojo.body() is null or not an object"

As far as i understand dojo thinks it is loaded but navigating to another page spoils it's plannes.

this function throws this

onload: function(){
// summary:
// Function that detects if we are in high-contrast mode or not,

Fade out functionality not working reliably for dojo text boxes in IE 7 However, works fine on on Firefox

Hi We are using DOJO 1 with IE 7 and finds that the fade out functionality is not fading out the text fields as desired however the same code works fine for Mozilla.
any suggestions

Dojo1.0 shows Object required-Information message on IE 7 status bar

Hi ,We are using DOJO 1.0 with IE 7 and we can observer in the IE status bar the following information message (with written test on Status bar DONE) when we click on any link in the first page of website we say the informational icon along with done text on status bar and if we double click on the icon we saw the following information.Urgent help needed.

line :21
char :41160
Error:Object required
code :error

Please help in resolving this issue.

No such issue is observed with ForeFox

thanks,

Problem loading a form into an accordion pane...

I having a problem loading a form into an accordion pane. The form is defined in an external html document that I am loading via the href attribute on the accordion pane. I can open the panel1.html document directly and no errors are reported by by firebug. However, when I embed the form in an accordion pane, I get the following error from firebug and the form doesn't render correctly. I've noticed that if I include the dojo.require()'s that are declared in panel1.html directly in accordion.html then things seem go better.

can't get hello World tutorial working

Hi,
Im following the hello World tutorial and can get it working when i use the "button" tag. When I use an "input" tag for my submit, as quoted from the Hello World tutorial "In this case we've used a button element for the button though we could have used an input element - Dojo will work with either as long as the dojoType attribute is present." , i get an error. Ive tested with at the most basic level (code below) and is get the following error:

_10.getAttribute is not a function
defineResource(Document hwtut.html)manager.xd.js (line 12)

Error on replacing innerHTML and calling parser.parse()

Hi, I am getting the following error:

"Tried to register widget with id==db_2 but that is is already registered"

It happens when I get html from the server to replace one div on the page. I tell it to be parsed with dojo.parser.parse(fillId); but it throws that error. I've looked through the forums and found other people with the same problem: http://www.dojotoolkit.org/forum/dijit-dijit-0-9/dijit-support/already-r... and some more but none which worked for me (other's I didn't understand).

Syndicate content