Hello to all.
I'm reading the bibliograph application and in it uses qxtransformer a
lot. In this app the author defines some custom namespaces. Im my app,
I'm creating a pane with some buttons.
My button is named PanelButton and has this content:
<?xml version="1.0" encoding="UTF-8" ?>
<qxt:component
xmlns:qx="http://www.qxtransformer.org/qooxdoo"
xmlns:qxt="http://www.qxtransformer.org/extension"
className="adv4seller.PanelButton"
author="Leandro Santiago"
tagName="panelButton">
<qx:button id="panelButton"
width="200"
height="200">
</qx:button>
</qxt:component>
My Panel.xml code:
<?xml version="1.0" encoding="UTF-8" ?>
<qxt:component
xmlns:qx="http://www.qxtransformer.org/qooxdoo"
xmlns:qxt="http://www.qxtransformer.org/extension"
xmlns:adv="adv4seller.*"
className="adv4seller.Panel"
author="Leandro Santiago">
<qx:composite>
<qx:vbox>
<adv:panelButton label="Hello World">
</adv:panelButton>
</qx:vbox>
</qx:composite>
</qxt:component>
Both of the files are in the adv4seller/ directory.
When I try to run the transform job, the generator returns an error:
Writing processed javascript to
/home/tenchi/projects/adv4seller/interface/adv4seller/source/class/adv4seller/PanelButton.js
[INFO] - Processing file
/home/tenchi/projects/adv4seller/interface/adv4seller/source/class/adv4seller/Panel.xml
[ERROR] - 'NoneType' object has no attribute 'get'
>>> Done
Why does it happen? There are any other configurations to use custom namespaces?
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel