Hmm, dijit.findWidgets(parentWidget.domNode) ?
Change Oh, now I have found findWidgets that is not looking recursively.
I checked the dijit.findWidgets source code and all it does is check the nodes with the widgetid attribute that are presented in the dijit registry. The next version uses dojo.query to repeat the same search:
function findEvenTheNestedWidgets(innitialNode){ return dojo.query("[widgetid]", innitialNode) .map(dijit.byNode) .filter(function(wid){ return wid;})
source share