Even if it did allow you to do that no browser would allow it. You can't
load scripts across domains by default.

You can of course do it when using dojo though ;)

http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book48

On 7/28/06, Henri Dupre <[EMAIL PROTECTED]> wrote:

I want to have a component that will add an include for a javascript to an
external website and also that will do some initialization for this
script.
I tried with a .script component and I put the following stuff:

<script>
<include-script resource-path="https://.../script.js"/>
But this generates
<script type="text/javascript"
src="/app/scripts/https://../script.js";></script>

Is there anyway to fix this to generate a clean javascript include to an
external location?

Thanks,

Henri Dupre
Actualis Center




--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

Reply via email to