Hi, Daniel, ok, thanks, this works. Isn't there any possibility to traverse the applications widgets or ui elements?
Sorry for asking and asking but getApplication() only returns an Object and I do not know what to do with it now. The API Docs do not help and I haven't found any good doc resource for qooxdoo... Thanks, Oliver Daniel Wagner wrote: > Hi Oliver, > > Chris' advice works in qooxdoo 0.8, but RAP uses qooxdoo 0.7 so you'll > have to use this instead: > > qx.core.Init.getInstance().getApplication() > > > Regards, > Daniel > > Oliver Specht schrieb: >> Hi, Chris, >> thanks for the advice but it did not work. I tried this with the Firebug >> but maybe the "this" pointer is not correctly set there. >> >> I am developing a RAP project, so I cannot really access/change the >> qooxdoo code. >> >> Is it correct that a general qx object is loaded into the document? I >> tried to only use the qx.core.Init.getApplication().getTree() in the >> outer window, but there is an error that getApplication() is not a >> function, where qx.core.Init returns a function. >> >> I am slightly confused :) >> >> Greetings, >> Oliver >> >> Christian Schmidt wrote: >>> Hi Oliver, >>> >>> yes, if for example your "Application" class has an getTree() method >>> witch returns the tree widget instance, you can call this on a qooxdoo >>> IFrame: >>> this._iFrame.getWindow().qx.core.Init.getApplication().getTree() >>> >>> Hope this helps. >>> >>> Cheers, >>> Chris >>> >>> oliverspecht schrieb: >>>> Hi, >>>> I need to access a qooxdoo Tree from another GUI component which is set in >>>> an IFrame. >>>> >>>> I searched the docs but did not find any hint. I tried qx.Class.getClass() >>>> etc. but nothing worked. Is there any possibility to traverse the qooxdoo >>>> GUI components in a webpage? >>>> >>>> Something like in jQuery wrapping the elements etc.? >>>> >>>> Thanks, >>>> Oliver >>>> >> >> ------------------------------------------------------------------------------ >> Return on Information: >> Google Enterprise Search pays you back >> Get the facts. >> http://p.sf.net/sfu/google-dev2dev >> _______________________________________________ >> qooxdoo-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> >> > > > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
