var clazz = qx.Class.getByName("de.domain.LanguageTable");
var obj = new clazz();-----Original Message----- From: Lutz Schoder [mailto:[email protected]] Sent: Monday, May 04, 2009 10:18 AM To: qooxdoo Development Subject: [qooxdoo-devel] new Instance from String Hi All, I'm searching for a classForName()-like way to create an object from a string: var clazz = "de.domain.LanguageTable"; var obj = <methodname>(clazz); The qx.Class.getByName() seems not be the correct way. Knows someone a solution? Thanks Lutz -- Mit freundlichen Grüßen / Best regards Lutz Schoder SoftConcept GmbH Borriesstr. 35 D-32257 Bünde www.softcontract.de www.softconcept.net Amtsgericht Bad Oeynhausen, HRB 8162 Steuernummer 310/5786/0202 Geschäftsführer: Jürgen Tiemann ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
