dominoExperts.com - Powered by Domino 8.5.2 Domino Accelerator Pack
- Reduce the number of HTTP requests
Lotus Triple Search DominoExperts + Blogs + R8 forum
dominoExperts.com -> Domino Accelerator Pack

 Missing dojo.require in dijit._DialogMixin


Tomas NielsenPost date: 2010-05-07 07:25

I got a question from one of our customers about a JavaScript error when using the automatic DojoBuild in DAP.

DAP's dojobuild will automatically take all the dojo.requires on your web page and build a custom build for you in real time, compress it and cache it. It will save you many many requests and reduce page load time dramatically.

After some digging it turns out that in one of the dojo components, dijit._DialogMixin, there is a missing dojo.require statement: dojo.require("dijit._Widget");
That was the reason for the faulty build.

To help make Dojo better we have submitted a ticket here: http://bugs.dojotoolkit.org/ticket/11089

Since this flaw has been in there for some Dojo generations I will put in a programmatic correction in the next release of DAP.

For now, just add a dojo.require("dijit._Widget") in dijit/_DialogMixin.js , and the build will be fine. Depending on which dojo.requires you have on your pages you might not even be affected by the issue.




RSS feed
Subscribe to Forum

Share this page

Top posters
Tomas Nielsen212
Joacim Boive27
Fredrik Stöckel27
Danne14
Niklas Waller13
Kenneth Haggman11
Bryan Kuhn10
Daniel Lehtihet9
Jonas Israelsson8
dm997