You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Simon Nash <na...@apache.org> on 2009/06/26 23:21:30 UTC
Re: Domain Manager UI doesn't work with IE7
Raymond Feng wrote:
> I think it is a known issue. IE has different way to load the HTML into
> DOM and for some reason, getElementById() call is not working.
>
Is there a JIRA for this? I couldn't find one. Also, the call that
is failing isn't the DOM getElementByID() method, but a function
elementByID() in utils.js. The code is:
function elementByID(node, id) {
for (var i in node.childNodes) {
var child = node.childNodes[i];
if (child.id == id) {
return child;
} else {
child = elementByID(child, id);
if (child != null) {
return child;
}
}
}
return null;
}
Would I perhaps have more luck if I changed this code to use the
DOM getElementByID() call?
Simon
> Thanks,
> Raymond
> --------------------------------------------------
> From: "Simon Nash" <na...@apache.org>
> Sent: Friday, June 26, 2009 5:42 AM
> To: <de...@tuscany.apache.org>
> Subject: Domain Manager UI doesn't work with IE7
>
>> I can't get the Tuscany domain manager UI to work in an IE7 browser
>> window because of Javascript errors.
>>
>> For example, if I browse to http://localhost:9990/ui/workspace, I
>> get the following error:
>>
>> Line: 44
>> Char: 2
>> Error: 'toolbarDiv' is null or not an object
>> Code: 0
>> URL: http://localhost:9990/ui/workspace/toolbar-gadget.html
>>
>> From looking at this location in toolbar-gadget.html, it seems that
>> the elementByID() function call is returning null instead of the
>> correct object.
>>
>> If I use Firefox instead of IE, everything is fine.
>>
>> Can anyone throw any light on this error? Has enyone been able to
>> get the domain manager to work with IE?
>>
>> Simon
>>
>
>