Window widget events not firing

Dee Gould <[email protected]>
Newsgroups gmane.comp.windows.devel.netwindows
Message-ID <[email protected]>
I am utilizing the window widget to load an html page which includes not 
only static, but also dynamic content.  The current issue I'm having is 
I use __sig__.connectOnceByName to connect the events on the buttons, 
but they do not seem to be firing. 

Here's how we have it loading:

NW_WIDGET_window_create_load_append(500, 500, 100, 100, "", "", url );
( url being our html page )

in the onload event of the page we load we create a 'new' of the class 
that is utilized for connecting the button events:
onload='javascript:(new CustomerSearch()).constructor();'

and in the constructor method we have:
__sig__.connectOnceByName(document.getElementById("cancelButton"), 
"onclick", this, "cancelClicked");     
 

What Michael and I have noticed is that from the function that calls the 
NW_WIDGET_window_create_load_append, to the constructor() function, we 
are in different 'Window' objects.  We think this ( being the different 
windows ) is affecting the connection of the events.

Could someone please try and shed some light on this for us?

Thanks!

Deanna Gould



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