Ok, thanks a lot! I will try it! Tobias
-----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Fabian Jakobs Gesendet: Freitag, 1. Juni 2007 10:57 An: qooxdoo Development Betreff: Re: [qooxdoo-devel] Build doesn't include all classes Hi Tobias, > > By the way: is this bad style of programming? If so, how would you > program this? > I would avoid "eval" if possible. I would write your code like this: this.pages[0]["mainAdmin1"] = myapp.modules.reader.Settings; ... createDest : function(id){ return new (this.pages[0][id])(id) } ... destination.add(this.createDest( id )); No need to use eval here. In some cases eval is very useful but in most situations there are better solutions without eval. Best Fabian ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
