[Project_owners] Easiest way to save/restore <tree/> state?

Neil Deakin enndeakin at sympatico.ca
Wed Feb 8 23:48:38 EST 2006


Eric H. Jung wrote:
> Thanks HJ and Neil for the replies. This has been very helpful. I will
> implement it myself then, with an observer.
>
> Any idea why I'd get an NS_NOINTERFACE exception with:
>
> var treeBuilder = 
>   tree.builder.QueryInterface(Components.interfaces.nsIXULTreeBuilder);
>
> The line before it calls tree.builder.rebuild() -- and works -- so I'm
> fairly certain tree.builder is valid...
>
>   
Because nsIXULTreeBuilder is only implemented by tree builders 
(flags="dont-build-content")

/ Neil



More information about the Project_owners mailing list