Dojo JavaScript File Includes Broken in 1.6+ for FireFox  XML
Forum Index -> Components
Author Message

Joined: 11/May/2007 00:00:00
Messages: 31

In my file, I include dojo as follows:

<script type="text/javascript" src="../public/dojo/dojo.js.uncompressed.js"></script>

This worked fine under 1.5.3. However, with 1.6+ (including 1.7+), this breaks under FireFox but works fine under IE. For some reason, dojo tries to include its supporting scripts under the current path. Using Firebug, the error is at:

GET http://localhost:8080/mc/ui/src/widget/SplitContainer.js404 (16ms)

It really should be GET http://localhost:8080/mc/public/dojo/src/widget/SplitContainer.js. To workaround this, I had to copy the dojo libraries to the root of my webapp.
Forum Index -> Components
Go to:   
Powered by JForum 2.1.7ice © JForum Team