Finally. I found a problem. You used incorrect namespace urls in some of your components.
Please change ns definitions from xmlns:qx="http://www.qxtransformer.org/qooxdoo/0.8" xmlns:qxt="http://www.qxtransformer.org/extension/0.4" to xmlns:qx="http://www.qxtransformer.org/qooxdoo" xmlns:qxt="http://www.qxtransformer.org/extension" Please let me know how it goes on your side. Serge On Sep 24, 2010, at 4:52 PM, Leandro Santiago wrote: > Good, I needed it working till next Monday :-) But there is no > problem. Right now I'm going to write my app in pure qooxdoo > javascript code. > > Regards > > 2010/9/24 Siarhei Barysiuk <[email protected]>: >> This is a problem with qxtransformer not with your code I believe. I'm >> working on it but cannot say how long it'll take. >> >> Serge >> >> On Sep 24, 2010, at 3:39 PM, Leandro Santiago wrote: >> >>> So... have ou discoreved what is wrong in my code? Thx :-) >>> >>> 2010/9/23 Leandro Santiago <[email protected]>: >>>> Ok. I'm sending my complete project. It's in this link: >>>> >>>> http://dl.dropbox.com/u/3550969/adv.tar.bz2 >>>> >>>> 2010/9/23 Siarhei Barysiuk <[email protected]>: >>>>> Hi, >>>>> >>>>> Could you please send me your sample project, I'll take a look into this? >>>>> You config looks fine. >>>>> >>>>> Cheers, >>>>> Serge >>>>> >>>>> On Sep 22, 2010, at 5:42 PM, Leandro Santiago wrote: >>>>> >>>>>> Thx for your example. It works fine here. >>>>>> >>>>>> But in my code it still doesn't work :-( I've copied the >>>>>> PanelButton.xml and Panel.xml which you sent and put in my project. >>>>>> I'm using QxTransformer from contrib repo. >>>>>> >>>>>> I have the same error :-( >>>>>> >>>>>> I've changed the config file with QXT_VERBOSE to "main:DEBUG;dev:DEBUG;". >>>>>> >>>>>> The last lines of the output are in: >>>>>> http://pastebin.com/KEqBD1s8 >>>>>> >>>>>> And my config.json is in: >>>>>> http://pastebin.com/a2rJg0UE >>>>>> >>>>>> 2010/9/22 Siarhei Barysiuk <[email protected]>: >>>>>>> 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 >>>>>>> >>>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> 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 >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Nokia and AT&T present the 2010 Calling All Innovators-North America >>>>> contest >>>>> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada >>>>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in >>>>> marketing >>>>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >>>>> http://p.sf.net/sfu/nokia-dev2dev >>>>> _______________________________________________ >>>>> qooxdoo-devel mailing list >>>>> [email protected] >>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>>>> >>>> >>> >>> ------------------------------------------------------------------------------ >>> Nokia and AT&T present the 2010 Calling All Innovators-North America contest >>> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada >>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing >>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >>> http://p.sf.net/sfu/nokia-dev2dev >>> _______________________________________________ >>> qooxdoo-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> >> >> ------------------------------------------------------------------------------ >> Nokia and AT&T present the 2010 Calling All Innovators-North America contest >> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada >> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing >> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >> http://p.sf.net/sfu/nokia-dev2dev >> _______________________________________________ >> qooxdoo-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > 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
