rem: alert("No known way to attach this component:" + this._box.className + " to the DOM"); 
add: alert("init:append failed"); 
context:     init: function(insertAtIndex, props) {        var styleClass = props.styleClass;        var style = tw_Component.defaultStyles[styleClass];        delete props.styleClass;                var styleProps = props.styleProps;        if (styleProps != undefined) {            delete props.styleProps;                        for (var name in style) {                if (styleProps[name] == undefined) styleProps[name] = style[name];             }                        style = styleProps;        }                this.setStyle("backgroundColor", style["backgroundColor"]);        this.setStyle("backgroundImage", style["backgroundImage"]);        this.setStyle("backgroundRepeat", style["backgroundRepeat"]);        this.setStyle("backgroundPosition", style["backgroundPosition"]);                if (this._borderBox != null) {            this.setStyle("borderType", style["borderType"]);            this.setStyle("borderSize", style["borderSize"]);            this.setStyle("borderColor", style["borderColor"]);            this.setStyle("borderImage", style["borderImage"]);        }                if (this._fontBox != null) {            this.setStyle("fontFamily", style["fontFamily"]);            this.setStyle("fontColor", style["fontColor"]);            this.setStyle("fontSize", style["fontSize"]);            this.setStyle("fontItalic", style["fontItalic"]);            this.setStyle("fontBold", style["fontBold"]);            this.setStyle("fontUnderline", style["fontUnderline"]);        }                if (props.insertAtIndex != undefined) {            insertAtIndex = props.insertAtIndex;            delete props.insertAtIndex;        }                for (var prop in props) {            this[this.__setters__[prop]](props[prop]);        }                if (this._parent != null) {            if (this._parent instanceof tw_BaseContainer) {                if (this instanceof tw_Menu && this._windowMenu) {                    this._parent.setMenu(this);                } else {                    this._parent.addComponent(insertAtIndex, this);                }            } else if (this._parent instanceof tw_DropDown || this._parent instanceof tw_GridBox) {                this._parent.getBaseWindow()._box.appendChild(this._box);            } else {                alert("No known way to attach this component:" + this._box.className + " to the DOM");            }        } else {            document.body.appendChild(this._box);        }                //TODO: We shouldn't have to call this a second time, but it appears that either a browser        //bug is requiring that we do, or there is a glitch in the framework.        this.setStyle("backgroundColor", style["backgroundColor"]);        this._inited = true;    },
meta: 5515	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5515/d532c0ea03ef1c91856bba5408f049541b39c2ba/Component.js/buggy/src/thinwire/render/web/resources/Component.js