Is there a way to create a layout using dijit’s BorderContainer and ContentPane using existing HTML/markup and avoiding the use of dojo/parse’s .parse() method?
I am trying to use RequireJS with the latest code in dojo/dijit’s svn trunk but can’t use .parse() as it relies on the require.on method that doesn’t exist in RequireJS.
Note that I have an existing template and cannot programatically create the BorderContainer unless it takes a parameter to set an existing element (that also has existing content which cannot be altered/removed).
Yes, all widgets can be created programmatically. That’s what dojo/parser does internally.
As an example: