:: Forum >> Version 2 >>

Uncaught Exception Error Standard Edition

Just upgraded to AW Standard using the following combo

var status = new AW.UI.Combo;
status.setId("status");
status.onCurrentItemChanged = function(i){
    var 
text this.getItemText(i);
    
this.setControlImage(this.getItemImage(i));
    
this.setControlText(text);
    
this.hidePopup();
    var 
this.getContent("box/text").element();
    if (
AW.safari) { e.innerHTML text; }
    else { 
e.value texte.select(); }
    
null;
};
status.setControlText("Online");
status.setControlImage("online");
status.getContent('box/text').setAttribute('readonly'true);
status.setItemText(["Online""Offline"]);
status.setItemImage(["online""offline"]);
status.setItemCount(2);
 
I realize I modified the "onCurrentItemChanged" and removing that only removes one of the errors. But I get 2 of the same and both errors are as follows


Error: uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLBodyElement.removeChild]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: http://office.twtserver.com/plh_iface/runtime/lib/aw.js :: anonymous :: line 38" data: no]
Tony (www.FriendsOfAW.com)
Thursday, February 9, 2006
Bump, still having this issue .....
Tony (www.FriendsOfAW.com)
Tuesday, February 14, 2006



This topic is archived.

Back to support forum

Forum search