Derrell Lipman wrote:
On Fri, Sep 26, 2008 at 11:51 AM, Burak Arslan <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:i tried qxtransformer some time ago. it's quite buggy, it did not look like a finished product. it's implemented using xsl/xslt, so its "code" looks horrendous. it'd be fine if it just worked but as it is now i wouldn't get near it.That seems a bit unfair. Having tried something "some time ago" and found it buggy is not necessarily indicative of current state. Christian and his gang have been very actively working on qxtransformer, as is seen from the frequent commits. I don't use it, but I highly suspect that it's currently in much better condition then this message would indicate. And if not, I'm quite sure that Christian would appreciate any bugs you do find being reported to him.
I looked at my notes, and it turns out that "some time ago", it was August 3rd. svn log shows the revision at that time was 130, committed months before. Looking at the state of the project, I thought it was abandoned and never looked at it again. it's quite unlucky because commit 131 was the next day :-( I'm sorry if I hurt anybody's feelings. By the way, the bug I found is still there, but it says it's now deprecated. (line 190, qx_id2281566 is undefined, it should be qx_id2283237). But i still think that: 1. defining a new set of xml tags is too much work. 2. xsl/xslt is a maintenance nightmare.
<?xml version="1.0" encoding="utf-8"?> <qxt:include-definition xmlns:qx="http://www.qxtransformer.org/qooxdoo" xmlns:qxt="http://www.qxtransformer.org/extension"> <qx:widget namespace="deneme" className="wgCompany" title="CompanyEdit"> <qx:gridLayout dimension="259,auto" verticalSpacing="4" horizontalSpacing="6"> <qx:gridLayoutColumn width="70" verticalAlignment="middle" /> <qx:gridLayoutColumn width="180" /> <qx:gridLayoutRow height="20"> <qx:gridLayoutCell> <qx:label text="Name" /> </qx:gridLayoutCell> <qx:gridLayoutCell> <qx:textField /> </qx:gridLayoutCell> </qx:gridLayoutRow> <qx:gridLayoutRow height="20"> <qx:gridLayoutCell> <qx:label text="Amount" /> </qx:gridLayoutCell> <qx:gridLayoutCell> <qx:spinner min="0" max="10" value="0" /> </qx:gridLayoutCell> </qx:gridLayoutRow> </qx:gridLayout> </qx:widget> </qxt:include-definition>
<?xml version="1.0" encoding="utf-8"?> <qx:root xmlns:qx="http://www.qxtransformer.org/qooxdoo" xmlns:qxt="http://www.qxtransformer.org/extension" qooxdooVersion="0.7.3"> <qx:application title="deneme" namespace="deneme" authors="" translate="true" className="AppMain"> <qxt:include src="/deneme.AppMain.company.qinc" /> <qx:verticalBoxLayout width="100%" height="100%" id="lvMain"> <qx:toolBar width="100%" id="toolBar"> <qx:horizontalBoxLayout width="100%" height="100%" id="lhToolbar"> <qx:label id="lblDeneme" width="1*" top="5" left="10"> <b>Deneme</b> </qx:label> <qx:toolBarButton id="btnDeneme" text="Deneme" icon="icon/22/actions/zoom.png" /> <qx:toolBarButton id="btnDeneme2" text="Deneme2" icon="icon/22/actions/zoom.png" /> </qx:horizontalBoxLayout> </qx:toolBar> <qx:horizontalSplitPane id="hspltMain" firstSize="300" secondSize="1*" top="0" left="0" width="100%" height="1*" border="inset" showKnob="true"> <qx:leftPane> <qx:tree id="sessionTree" left="0" top="0" width="100%" height="100%" backgroundColor="white" label="Deneme"> <qx:eventListener type="changeSelection"><![CDATA[ var node = event.getData()[0]; var tmp = node.getLabel(); if (tmp == "Company") { w= new deneme.wgCompany; lhRightPane.add(w); } ]]></qx:eventListener> <qx:treeFolder label="Base Operations" id="ndBase"> <qx:treeFile label="Company" id="ndCompany"/> </qx:treeFolder> </qx:tree> </qx:leftPane> <qx:rightPane id="pnMain"> <qx:horizontalBoxLayout width="100%" height="100%" id="lhRightPane"> <qx:label id="lblDeneme" width="1*" top="5" left="10"> <b>Deneme</b> </qx:label> </qx:horizontalBoxLayout> </qx:rightPane> </qx:horizontalSplitPane> </qx:verticalBoxLayout> </qx:application> </qx:root>
AppMain.js
Description: application/javascript
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
