2009/7/7 Jean-Paul Calderone <[email protected]>: > On Tue, 7 Jul 2009 12:36:04 -0300, Juanjo Conti <[email protected]> wrote: >>Where can I found a list of events Athena can handle? >> >><athena:handler event="onsubmit" handler="doRead" /> >> >>I know onsubmit and onkeypress. I tried to use onload but didnt work :( > > This depends on the browser. If the browser supports an event (remember, > different nodes support different events), then it should work with an > <athena:handler> tag. The node the handler is applied to is the one which > immediately contains the <athena:handler> tag. IIRC, `onload´ is only > supported on a few elements, eg body. You might want to override the > Widget method `loaded´ instead.
If I define a loeaded methon on my Widget, it'll be called when the page is loaded? -- Juanjo Conti _______________________________________________ Twisted-web mailing list [email protected] http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
