|
|
|
Question:
Lotus Domino 8.5 servers come pre-installed with Dojo.
The Dojo libraries are by default installed in {data}domino\js\dojo-x.x.x\dojo\ (where x.x.x is the dojo version, like \dojo- 1.1.1\ for example)
However, by default, all incoming http requests for non-NSF content point to the {data}\domino\html\ directory.
So how can I manually reference the Dojo libraries from HTML?
Answer:
The domino http server automatically maps all incoming requests for /domjs/ to the {data}\domino\js\ directory, so this will work:
<script type="text/javascript" src="/domjs/dojo-1.1.1/dojo/dojo.js" djConfig="parseOnLoad: true"></script>
For more information about JavaScipt Libraries in Domino 8.5, see Client Side JavaScript Libraries in XPages |