Web UI plugin works in FF but not IE
![]()
Does the Web UI team have any thoughts on why a web ui plugin's widget would be displayed properly on Firefox but with IE 6 would get a dojo namespace error?
The JS error dialog on IE says the following: Could not locate widget implementation for 'widgetname' in "dojo.widget" registered to namespace "dojo" The same exact code works fine and with no load problems on FF. |
3 answers
![]()
IE6 is known to be pickier about the syntax of the javascript. You can
get away with some invalid syntax in FireFox but IE will give errors. One of the most common ones I have seen is having a comma on the last property definition in an object : dojo.declare("xxx", dijit.Tree, { getIconClass: function(item){ return this.store.getValue(item, "icon"); }, onClick: function(item) { console.debug("item clicked"); }, }); The comma at the end of the onClick function definition will cause this code to fail to load in IE6 Richard rnaranjo wrote: Does the Web UI team have any thoughts on why a web ui plugin's widget |
![]()
Also, are you able to use Microsoft Script Editor to debug your web UI code in IE? If not, there's a good mini-tutorial here:
http://www.jonathanboutelle.com/mt/archives/2006/01/howto_debug_jav.html |
![]()
Hi Rosa,
Please notice that IE6 is deprecated and not supported (https://jazz.net/library/article/1109/). Do you have the same issue with IE8 and IE9? |