Nevow, annotate.MethodBinding, JavaScript integration
17 May
2007
17 May
'07
12:49 p.m.
Hi, I want to do smth in javascript when the combo changes. How can I add an onchange action to my combo? Thanks... def bind_xxx(self, ctx): desc = 'aaa' return annotate.MethodBinding( 'xxx', annotate.Method( arguments=[ annotate.Argument('ctx', annotate.Context()), annotate.Argument('fisturu', annotate.Choice( self.getComboInput, stringify=lambda x:self.combos[x], label='Xyz')), ], label='eee:', ), action='OK' ) def xxx(self, ctx, **args): ...
6361
Age (days ago)
6361
Last active (days ago)
0 comments
1 participants
participants (1)
-
Suha Onay