Enable the Dojo look and feel in iWidgets
Hazem Saleh (IBM) 2700027XCV Visits (2316)
One of the most common cases in iWidgets is to use the dijit components. To be able to work with dijit components properly in iWidgets, you should load the Dojo parser which is used for recognizing the the specially decorated DOM elements and converting them to dijits.
One of the ways to load the dojo parser in iWidgets is to use the dojo.parser.parse() API as follows.
1. In the iWidget XML, use a container div as a parent element for your iWidgets comp
var element = this