Not sure you got a reply, it seems my sample app was banned by  
security filter. Anyway, here is reply (sample app i'll send you  
directly):

Hi,

There is no additional configuration to use custom namespaces. I  
really did not see any problems with your code.

I have replicated your example and I have no errors on transformation  
stage. Please download my sample application and check it out, may be  
your missed something.

Let me know if you have any problems or questions. You can see all  
debug information if you change "QXT_VERBOSE": "main:INFO;dev:INFO;"  
in config.json to
"main:DEBUG;dev:INFO;" or even "main:DEBUG;dev:DEBUG;". Please forward  
a log file to me if you still have the issue.

Thanks,
Serge


On Sep 22, 2010, at 3:10 AM, Leandro Santiago wrote:

> 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


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

Reply via email to