Problem with nested widgets

"luca\.mariano\@email\.it" <[email protected]> Tue, 16 Sep 2003 17:58:00 +0200
Newsgroups gmane.comp.windows.devel.netwindows
Message-ID <[email protected]>
Hi guys,
during my tests with netWindows widgets I'm facing a problem.
Is there anything wrong with loading a NW_WIDGET_gen_data_table widget into a NW_WIDGET_window ?
That's to say: I have a page that open a NW_WIDGET_window (sort_table_works_inwidget.html); then I load the page sort_table_works.html into the NW_WIDGET_window (obj) by using:
__env__.addToPageQueue('sort_table_works.html', obj.contentObj.contentNode);

The page sort_table_works.html simply have the callback
    <script src="../winScripts/load_page_callback.js" language="javascript" type="text/javascript"></script>

and a NW_WIDGET_gen_data_table  widget populated with some data.

Now, sort_table_works.html works perfectly when called alone; when called inside the window widget it raises an error if I try to sort the data by clicking on the captions.

Surely I'm doing some big & stupid mistake... Ca anyone help me?

thanks,
Luca


--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f

Sponsor:
Bol.com e la Pottermania: tutti i libri gadget e film di Harry Potter
E se non vuoi perdere il nuovo libro, prenotalo subito: 20% di sconto!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1917&d=16-9

_______________________________________________
The netWindows developers list: [email protected]
http://netwindows.org/mailman/listinfo/devel_netwindows.org
widgetWtable.zip (application/x-zip-compressed, 1.6 KB) - not displayed