> I need to replace a qooxdoo (0.7.x) function from 'outside' (i.e. > without modifying the qooxdoo source itself. > In addition, I want to be able to call the original function from > within the replacement and, of course, keep the this variable > intact.
Use qx.class.patch. Use this.base(arguments) for the base function in the patch. See also http://bugzilla.qooxdoo.org/show_bug.cgi?id=323 and look at frontend/application/testrunner/source/class/testrunner/test/Mixin.js Hugh ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel