[Twisted-web] DOM manipulation in an athena widget

glyph at divmod.com glyph at divmod.com
Sat Sep 30 18:40:22 CDT 2006


On Sat, 30 Sep 2006 19:36:28 -0400, Jean-Paul Calderone <exarkun at divmod.com> wrote:
>On Sun, 01 Oct 2006 00:14:14 +0100, Phil Mayers <p.mayers at imperial.ac.uk> 
>wrote:

>Athena doesn't automatically bind methods to instances, unfortunately.  This
>means when the onblur handler is invoked, saveField will be invoked without
>any reference to the widget it came from.  Athena will let this happen, but
>self won't be bound properly.  Try connecting this instead:
>
>    function() { self.saveField(); }

Ignore my theories, this is the correct explanation.



More information about the Twisted-web mailing list