I have a test application (based on example/TreeVirtual_3.html) that works
fine if the tree is instantiated using
tree = new qx.ui.treevirtual.TreeVirtual(headings);
It fails, though, if I subclass TreeVirtual like this:
qx.Clazz.define("myclass.widget.tree.Tree",
{
extend : qx.ui.treevirtual.TreeVirtual,
construct : function(headings)
{
this.base(arguments, headings);
}
});
and then instantiate the tree using
tree = new myclass.widget.tree.Tree(headings);
The error produced is:
002970 ERROR: myclass.widget.tree.Tree[434]: Modification of property
"tableModel" failed with exception: Error - Objects of class
'myclass.widget.tree.Tree' do not support the event 'appear'
It's failing in Target.js:89 due to the event being "unsupported".
Am I doing something wrong, or is this a bug in Clazz.js?
Thanks,
Derrell
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel