The parseWidgets parameter isn't "wrong" in this sense, but I don't have a problem letting people shoot themselves in the foot if they want to. I'll update this to make it configurable.

Really what you want to do is call dojo.widget.createWidget(node). This will parse the widget dynamically for a specific node, which is much faster than letting it traverse your entire DOM tree looking for nodes with dojoType attributes.

Jesse Kuhnert
added a comment - 14/Aug/06 13:54 The parseWidgets parameter isn't "wrong" in this sense, but I don't have a problem letting people shoot themselves in the foot if they want to. I'll update this to make it configurable.
Really what you want to do is call dojo.widget.createWidget(node). This will parse the widget dynamically for a specific node, which is much faster than letting it traverse your entire DOM tree looking for nodes with dojoType attributes.