It's all about the answers!

Ask a question

Web UI plugin works in FF but not IE


Rosa Naranjo (2.9k11623) | asked Sep 13 '07, 5:15 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
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



permanent link
Krzysztof Kaźmierczyk (7.4k374103) | answered Apr 17 '13, 3:01 p.m.
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?

permanent link
Bill Higgins (24611) | answered Sep 15 '07, 5:47 a.m.
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

permanent link
Richard Backhouse (6661) | answered Sep 13 '07, 6:20 p.m.
JAZZ DEVELOPER
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
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.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.