Commits

Anonymous committed b5d8ad0

code to add the webwork widgets into the namespacing and widget heirarchies

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@1905573baa09-0c28-0410-bef9-dab3c582ae83

Comments (0)

Files changed (1)

src/java/template/ajax/dojoRequire.js

 dojo.require("dojo.io.BrowserIO");
 dojo.require("dojo.event.topic");
+
+dojo.hostenv.setModulePrefix('webwork', 'webwork');
+dojo.require('dojo.widget.*');
+dojo.widget.manager.registerWidgetPackage('webwork.widgets');
+
 dojo.require("webwork.widgets.Bind");
 dojo.require("webwork.widgets.BindDiv");
 dojo.require("webwork.widgets.BindButton");