Dojo Timing Issue With Dijit/registry And Dojo/domready
I am working on a one-page application in Dojo which submits forms via ajax and returns parses the return value before rendering the page. When I go about this I end up with a tim
Solution 1:
May be you should try, to add Parser
and call the Parser.parse()
before trying to access the widget.
This is from Dojo documentation
Note that waiting for
dojo/domReady!
to fire is often not sufficient when working with widgets. Many widgets shouldn’t be initialized or accessed until the following modules load and execute:
- dojo/uacss
- dijit/hccss
- dojo/parser
Post a Comment for "Dojo Timing Issue With Dijit/registry And Dojo/domready"