Including Dojo in pages

Based on various sources including the Dojo “manual”

Three starting sections in HEAD

  1. setting flags – this one is optional

    djConfig = { isDebug: false };

  2. dojo bootstrap – I think I found that this didn’t work as a single tag – had to be the open/close tag set
  3. define the packages to be used

    dojo.require(“dojo.event.*”);
    dojo.require(“dojo.io.*”);
    dojo.require(“dojo.widget.*”);

Path to dojo

With Webfuse – dojo is installed at /webfuse/tools/dojo/

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s