Dojo toolkit

I used to demo the possibilities with using the dojo toolkit over the last few months. I used a dojo library v 1.0.2 on a domino 7 server.

Now I pulled my demo db over to my 8.5 beta 2 server, hoping that I could still use the old demo (maybe after making some minor adjustments), but unfortunately I can’t, as obvioulsy the libraries aren’t loaded.

Problem starts with the fact, taht before mit dojo directory was sitting below the dominodata\domino\html directory; now it’s being installed under \domino\js. So I used to reference the toolkit by importing it through some code in my form’s HTML head content field.

Question 1: do the “old” dojo rules (referencing the toolkit manually, setting dojo.require-parameters in JS Header etc.) still apply?

Question2: if so: how do I can reference that “domino\js”-directory?

Again: any hint and help is highly appreciated!

-Lothar

Subject: \domjs

(This is really Steve, using Maureen’s laptop while on vacation…)

Your demo ran in Domino 7 because you put your version of Dojo under the data\domino\html directory - which the web server maps to the root uri "". You could do that to an 8.5 server too, but if you use xpages you will mix dojo versions on a page, and I would not expect that to work.

The 8.5 web server ships with the 1.1.1 version of Dojo, so you could use that if wish. It is in data\domino\js\dojo-1.1.1, and you could use a uri of \domjs\dojo-1.1.1 to access it.

The web server sets expires headers on requests to the \domjs uri, too.

Subject: works!

Thanks, that does the trick