I am getting an error with all my dojo widgets:

I've tried what other threads suggested and done the registerModulePath.

But I get the same error:

JavaScript error loading page 
http://localhost:8080/RMT/ratebucket/rateBucketList.htm: Error: Could not load 
'dijit.layout.ContentPane'; last tried 
'../javascript/dojoroot/dijit/layout/ContentPane.js' 
(http://localhost:8080/RMT/javascript/dojoroot/dojo/dojo.js#16)


Code:

<script type="text/javascript" src="../javascript/dojoroot/dojo/dojo.js"  
djConfig="parseOnLoad: true"></script>
                
<script type="text/javascript">
dojo.registerModulePath("dijit", "../javascript/dojoroot/dijit");
dojo.registerModulePath("dojox", "../javascript/dojoroot/dojox");
</script>
        
<LINK REL=StyleSheet HREF="../styles/main_styles.css" TYPE="text/css" 
MEDIA=screen>
<LINK REL=StyleSheet HREF="../styles/customized_styles.css" TYPE="text/css" 
MEDIA=screen>
                
<script type="text/javascript">
                                        
dojo.require("dojo.parser");
dojo.require("dijit.layout.ContentPane");
dojo.require("dijit.layout.TabContainer");
dojo.require("dijit.form.Button");
</script>






_______________________________________________
WebTest mailing list
WebTest@lists.canoo.com
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to