Re: Problem with NW_WIDGET_FACTORY_window and content loading

Michael Flanagan <[email protected]>
Newsgroups gmane.comp.windows.devel.netwindows
Message-ID <[email protected]>
Michael Flanagan wrote:

> While the following doesn't work:
>
> _nwSearchWindow = NW_WIDGET_FACTORY_window("Customer Search", 100, 
> 100, 500, 400);
> __env__.addToPageQueue("Broker?env="+tscEnvironment+"&portal=none&template=glb/customer/customerSearch.xml", 
>
>                        _nwSearchWindow.contentObj.contentNode, false, 
> _customerSearch = new CustomerSearch(), "constructor");
>
> I can't for the life of me figure out why. All create_load_append does 
> is call NW_WIDGET_FACTORY_window and return the window ref.

Forgot to insert the following between the two statements above:
document.body.appendChild(_nwSearchWindow.domNode);

Now it works. Why is it always like this... you spin your wheels for 
what seems like to long, post to a list, and THEN figure it out :P

I'd still like feedback wrt my propasal for modifying 
NW_WIDGET_window_create_load_append though.

--Michael



_______________________________________________
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.