Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: dojo not loading on opening a document
Feedback Type: Problem
Product Area: Notes Client
Technical Area: Application Development
Platform: Windows
Release: 8.5.1
Reproducible: Always

Hi

I have the following code defined in the HTML HEad content of my form

"<script src=\"dojo.xd.js\" djConfig=\"parseOnLoad: true\"></script>"
+ @NewLine +
"<script src=\"Window.js\" djConfig=\"parseOnLoad: true\"></script>" + @NewLine +

"<script type=\"text/javascript\">

dojo.require(\"dijit.form.Form\");
dojo.require(\"dijit.form.Button\");
dojo.require(\"dijit.Dialog\");
dojo.require(\"dojo.dnd.Source\");
dojo.require(\"dijit.form.ValidationTextBox\");

var cartPos = 0
var catalog
var cart
var wishlist

</script>"

This works fine when i am creating a new document. Dojo loads and i am able to perform the respective dojo funcations and save the document.

But when i try to open the saved document, Dojo never loads. I get an error in the status bar saying "dojo is undefined". On Editing the document none of the dojo functions work. I get "dojo is undefined" and "dijit is undefined" error.

Does anyone has an idea on what could be the issue here. It works smoothly for a new document creation but does not work for the existing ones.

Regards

Javed Khan


Feedback number WEBB8G73U4 created by ~Evelyn Bubkroverobu on 04/23/2011

Status: Open
Comments:

dojo not loading on opening a docum... (~Evelyn Bubkrov... 23.Apr.11)
. . Most likely it is a relative URL is... (~Fritz Ekfoober... 25.Apr.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS