Thank you Siarhei, you've been very clear.
Keep up the awesome work with QxTransformer! Even if it's still lacking a few things I love (as much as I love Qooxdoo and hate using JS to code the UI).
Lorenzo



Siarhei Barysiuk ha scritto:
Hello Lorenzo,

  
- 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?
    

I'm currently working on component model for 0.4 version and UI and
logic separation.
The snippet which you provided is for 0.3, it won't work with 0.4. Now
you can only use
inline window like in this [1] demo. Currently only one top tag is
supported - qx:application.

New component model will support such things, like custom extended
controls, reusable
elements, etc, and will be much simpler than in 0.3 version. I'll
update you and others when
I have done implementation and it will be soon.

  
- 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
    

No, there is no XSD for 0.4 version. Here [2] you can find all
supported tag, also you can check
out our demo browser [3] with a lot of snippets.

[1] - http://qxtransformer.org/demos/demobrowser/build/index.html#widget~Window.html
[2] - http://sites.google.com/a/qxtransformer.org/qxtransformer/Documentation/qxml-description
[3] - http://qxtransformer.org/demos/demobrowser/build/index.html

Best regards,
Siarhei Barysiuk

  
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


    

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

  

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

Reply via email to