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

Must invoke parse() yourself

This is probably way too old a reply to help you, but I just tripped over this too :) When you enable the Javascript control, Domino adds the following to the top of the html, above any HTML Header entries you can add:

<script type="text/javascript"
  src="/domjs/dojo-1.4.3/dojo/dojo.js" djConfig="locale: 'en-us', isDebug: false, parseOnLoad: false">
</script>

Dojo will only initialize once, which means that your <script> block later on is going to get ignored, and the parseOnLoad variable will be set to false. You have to compensate by doing what parseOnLoad:true was doing for you before:

<script type='text/javascript'>
dojo.require('dojo.parser');
dojo.addOnLoad(function(){ dojo.parser.parse(); });
</script>

Add that and your other controls will come to life again.


Feedback response number DNEN8FDTAZ created by ~Phil Dwotumipuljip on 03/28/2011

"Using JavaScript control" nullifie... (~Vanessa Bubjum... 31.May.09)
. . Must invoke parse() yourself (~Nicole Ekluman... 28.Mar.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS