Dojo - Remote Script Problem
FATAL: Could not load 'dojo.io'; last tried '__package__.js' FATAL: Could not load 'dojo.widget.ComboBox'; last tried '__package__.js'
It was suggested this could be due to XSS protections. Scriptaculous' scriptaculous.js, however, has a way around this since it can be loaded remotely and access it's external files (builder.js, controls.js, etc.). Often it's nice to have static files hosted on a separate server. Is there a way to fix this issue for Dojo?
UPDATE 1: For now, I'm going to stick with dojo.io.bind and Scriptaculous autocomplete. A nice thing about this set up is I can load a remote dojo.js browserio build w/o issues since it doesn't need call any external libraries for just bind.
UPDATE 2: Alex Russell provided a uri for cross domain package loading. You can turn on cross domain support by using a custom build and setting the dojoLoader option to xdomain option:
ant -Dprofile=ajax -DdojoLoader=xdomain -Ddocless=true clean release intern-strings