hi,

im trying to create a class by name with qx.Class.getByName(NameOfClass)
which was previously loading by the PartLoader. Think of Plugins which the
main app only knows by name.

Sample:
Class custom.ClassA in Part "ClassA"

qx.io2.PartLoader.require([name], function() {
    var clazz = qx.Class.getByName("custom."+name);
    var instance = new clazz();
},this);


i became the error message clazz is not a constructor any ideas?

regards,
Thomas Dräger


-- 
View this message in context: 
http://n2.nabble.com/PartLoader-and-Class-getByName-tp3668151p3668151.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to