Custom Query (18300 matches)
Results (82 - 84 of 18300)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#18869 | invalid | dojo 1.10.4 error: Must pre-load all supporting widgets before instantiation | ||
Description |
Hi, I'm doing a project that involves upgrading our dojo toolkit from 1.9.1 to 1.10.4 and I am experiencing an issue with the template. I am using the _Template.js module from the dijit package and I get the following errors: dojo/parser::parse() error TypeError?: Cannot read property 'toString' of undefined(…) init.js:623 dojo/parser::parse() error Error: custom.MapContainer?: parser returned unfilled promise (probably waiting for module auto-load), unsupported by _WidgetsInTemplateMixin. Must pre-load all supporting widgets before instantiation In our MapContainer?.js module we use an html as a template as such: templatePath : dojo.moduleUrl("custom.templates", "MapContainer?.html") The MapContainer?.js module is the first thing that's called in our application, it goes through the constructor and then goes into a file called init.js. This project uses arcgis javascript api which in turn uses the dojo toolkit. So this init.js is part of the arcgis application and it ends up spitting the error I mentioned above. The behaviour of the application is different from browser to browser. For instance, in chrome and Firefox the error is always displayed. However, for IE if the cache is cleared the error happens but when the page is reloaded it doesn't happen and the application behaves as expected. Any idea what this could be? Where can I look to find the underlying issue? |
|||
#18868 | fixed | Hardcoded './util/…' paths in dojo-util break when installed via npm | ||
Description |
If one installs
There should be a way to make these paths relative without having to hardcode
Right now, the "workaround" is to install (Apologies if this issue has come up before or if there's another ticket around this, but I searched and couldn't find anything.) |
|||
#18867 | worksforme | dojo/store/Memory Can't Get Reference Using Declarative Syntax | ||
Description |
Given a store created declaratively: <div data-dojo-type="dojo/store/Memory" data-dojo-id="typeStore" data-dojo-props="data: [ a set of data]"></div> later in the scripting, I'm trying to get a reference to the store. E.G. var store=dojo.byId('typeStore'); or var store=dom.byId('typeStore'); or var store=registry.byId('typeStore'); The result of the byId() methods is null. There should be some method of getting a reference to the store. |