Re: netWindow - PHP data transfer model

Mark Anderson <[email protected]>
Newsgroups gmane.comp.windows.devel.netwindows
Message-ID <[email protected]>
Alex Russell wrote:

> Every widget has a remove() method. Calling it will destroy the widget 
> and any
>
>visible nodes that correspond to it.
>
>  
>
You mean this method?

    this.remove = function(){
        this.preRemove();
        try{ document.body.removeChild(this.domNode); }catch(e){}
        __components__.unregister(this);
        this.domNode = null;
    }

How is this supposed to work? Generally domNode is not a child of 
document.body.
In fact, it is possible across frames that domNode is not even a 
descendant of window.document.

-mda, wondering about that "catch(e){}" style.... :)


_______________________________________________
The netWindows developers list: [email protected]
http://netwindows.org/mailman/listinfo/devel_netwindows.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.