Thank you Adrian, that worked perfectly.
----- Original Message ---- > From: Adrian Olaru <[email protected]> > To: [email protected] > Sent: Fri, February 25, 2011 12:49:19 PM > Subject: Re: [qooxdoo-devel] creating objects of dynamic types > > > Here's a little code to make you an idea about using qx.Class.getByName. > > qx.Class.define("Bacon", { > extend: qx.core.Object, > construct: function(foo, bar) { > this.foo = foo; > this.bar = bar; > } > }); > > var klass = qx.Class.getByName("Bacon"); > var obj = new klass("foo", "bar"); > this.debug(obj.foo); > > Is this what you need? ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
