|
Hello everyone, I'm quite a newbie, I'm now writing my 1st project using Qooxdoo (0.8.1) and QxTransformer (0.4a). I have a few questions: - How do I make QxTransformer create a new class extending qx.ui.window.Window (or any other class)? Eg: I'm trying to create a class for a log on window that I'd like to reference in my code using using something like "var logOnWindow = new dart.services.client.windows.LogOnWindow;". In the docs I read I should use the qt:widget tag (in snippet 1 below there's one of my tests), but it generates the code in snippet 2 (not a class but an instance called qxWidget1...). Probably the docs are outdated, but nevertheless, can anyone guide me? - Can I download the XSD for the current version of QxTransformer? I could not find them, just found a reference on how to generate them in the forums, but the post was almost a year old, mentioned Perl as a requirement (which I haven't installed) and, most of all, seemed to apply to version 0.3 and qooxdoo 0.7.x Thanks! Lorenzo Snippet 1: <qx:widget xmlns:qx="http://www.qxtransformer.org/qooxdoo" xmlns:qxt="http://www.qxtransformer.org/extension" namespace="dart.services.client.windows" className="LogOnWindow" extend="qx.ui.window.Window" title="LogOnWindow" author="Lorenzo Vegetti"> <qx:window caption="Log On" [...]> [...] </qx:window> </qx:widget> Snippet 2: var qxWidget1 = new qx.ui.core.Widget(); qxWidget1.setClassName("LogOnWindow"); qxWidget1.setExtend("qx.ui.window.Window"); qxWidget1.setAuthor("Lorenzo Vegetti"); qxWidget1.setTitle("LogOnWindow"); qxWidget1.setNamespace("dart.services.client.windows"); None.add(qxWidget1 ); |
------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H
_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
