Re: Window widget events not firing

Alex Russell <[email protected]>
Newsgroups gmane.comp.windows.devel.netwindows
Organization netWindows.org
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 22 July 2003 3:45 pm, Mark Anderson wrote:
> Dee Gould wrote:
> > 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");
>
> whose document has the cancelButton?
> if you are running this in the newly created window, but the
> document with the cancelButton is the other window, this clearly
> won't work.

Hrm. I didn't get the feeling from the origial post that this was a 
cross-window or cross-frame issue. Am I wrong about this Dee? Can you 
clarify?

Thanks

- -- 
Alex Russell
[email protected]
[email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/HaZWoV0dQ6uSmkYRAhBEAJ4jWMx32kcG2c07cWswEzDGVbRidACggUKF
S5lfNy7TceDgQSBGE/Qr+mM=
=CcCa
-----END PGP SIGNATURE-----


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