Hi all, I have a problem using qxh with a class name as a locator. According to the docs:
"<string> A simple string that cannot be resolved otherwise is taken to be the literal identifier of a JavaScript property of the current object. So a locator step of mytoolbar will signify a JavaScript property named mytoolbar on the current object. qxh=mytoolbar qx. ... A string starting with qx. is taken to be a qooxdoo classname, e.g. qx.ui.basic.Label. It signifies a child which is an instance of the given class. qxh=qx.ui.form.Button" So I thought I could do something like this: qxh = myapp.mydialogclass but that never works. If I use this instead: qxh = child[5] it works. The problem is that this dialog widget is part of a library so the child[X] method will likely change depending on the app it is included in and I'm trying to keep the testing code common. I've seen the alternative solution of just adding an attribute and searching for that but I'll use that as a last resort if I cannot use the class name. Thanks, Michael -- View this message in context: http://qooxdoo.678.n2.nabble.com/qxh-locator-using-only-class-name-tp7584737.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
