So, I found out how it works :)
qx.Class.define("myNameSpace.test1",
{
extend: qx.core.Object,
members :
{
DoSth: function()
{
alert("hello");
}
}
});
var Name_of_Class = "myNameSpace.test1";
var Object_of_Class = qx.Class.getByName(Name_of_Class);
Object_of_Class = new Object_of_Class();
Object_of_Class.DoSth();
see http://tinyurl.com/3y7752y
-----
My site: http://projects-tutorials.de/ http://projects-tutorials.de/
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Create-Object-Name-of-class-in-a-string-tp5401636p5406303.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel