Login Register

xdomain

XDomin Problems

I'm trying to migrate my dojo installation into a single installation because at the moment I have to deploy an installation for all my different applications.

I have been previously using:

<script type="text/javascript" djConfig="parseOnLoad: true, isDebug: true" src="/js/dojo/dojo.js"></script>

I want to use:

<script type="text/javascript" djConfig="parseOnLoad: true, isDebug: true, useXDomain: false, xdWaitSeconds: 10" src="http://js.mydomain.com/dojo/dojo.js"></script>

xdomain build headache

I've been trying to get xdomain builds to work. I've got everything working fine without building (using just requires and multiple HTTP calls), but for some reason things go wrong when I run a real build.

Here's what I've got in my HTML (note the djConfig):

 
 

Cross Domain (XDomain) Builds for my new modules

Hi,

I build new modules using the " dojo.declare("new class", null) " statement.
I am loading dojo from another domain and there for I am using the simple Xdomain build.
How should I build my new modules for being able to use them from another domain?
If I just reference to the, using dojo.registerModulePath and then dojo.require i recieve error in Firefox.

thanks

cross browser scripting file uploading issue. can't get info returned out of iframe. works great when not cross browser.

The application I'm working on works great under all instances except when the iframe is cross domain. I can upload images no problem and return that images name and location in a textarea within the iframe under cross domain and not. But I don't know how to get the information out of that textarea iframe when the iframe is cross domain. Any help would be great I've tried all sorts of hacks and I've referenced a lot of sites on how to set up xdomain but I really don't know what to do.

Syndicate content