OK -- the whole "addEventListener" concept just clicked with me. No need to respond to my previous post, unless you happen to have a real simple example handy. Thanks --Mike
Mike Rea wrote: > > Hi, I'm a Qooxdoo rookie. I've had some success with a few preliminary > experiments with the AtAGlance demo app. However, I'm now stumped on > something. > > Within AtAGlance.js, an internal window called "win" is defined. This > internal window is then opened upon clicking on the button called > "openThemeWinBt". This works fine. Notably, both "win" and > "openThemeWinBt" are created within a function called "_createThemesDemo". > The function that opens the window "win" is simply "win.open();". > > Now, I think I should be able to trigger the opening of the window "win" > through clicking on things that were not also created within the > "_createThemesDemo" function. I've tried many different full paths > followed by "win.open();" and I've encountered errors or no response with > all of my attempts. > > If I have an event somewhere else in my app that I would like to use to > open the window "win", how would I write the function call to do this? > > Here's an example of something I thought might work, but it didn't: > qx.ui.core.ClientDocument.getInstance().win.open(); > > This produces an error: "qx.ui.core.ClientDocument.getInstance().win has > no properties". > > Thanks -- and please forgive me if the answer is blatantly obvious. I'm a > novice:) > -Mike > > -- View this message in context: http://www.nabble.com/AtAGlance.js-tf2261818.html#a6276415 Sent from the qooxdoo-devel forum at Nabble.com. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
