Thank You Stanislav, I try to implement it and work flawlessly. Sp
Il giorno mer, 23/03/2011 alle 11.58 -0700, Stanislav Sinyagin ha scritto: > I've done it a bit differently: the classes are defined in normal Qooxdoo > source > files, and the RPC backend delivers their names. > > Line 55 in http://goo.gl/weprq > loads all my classes in "r" folder. > > Line 64 in http://goo.gl/Kzzat > initializes an object from a class name in a string > > If you really want to fetch the class source code from an RPC backend, that > might clash with the Qooxdoo way of doing things, especially in "build" mode. > > > > > > > ----- Original Message ---- > > From: Simone Pandolfo <[email protected]> > > To: qooxdoo-devel <[email protected]> > > Sent: Wed, March 23, 2011 5:58:34 PM > > Subject: [qooxdoo-devel] Load class file on runtime > > > > Hi, > > I was trying to load classes at runtime, for example: > > > > var test = new projectname.Mydir.Myclass(); > > > > Instead I would read from the backend projectname.Mydir.Myclass (); as > > string and load it dynamically. > > > > It would be useful to specify a path of additional classes in > > config.json or manifest.json, but I could not understand how I can > > specify additional directories, and then interact in the code with it. > > > > Any suggestions? > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > -- Erreedi Srl Tel. 06.7900639 Fax 06.79840900 e-mail: [email protected] ------------------------------ ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
