#NEWLINE# @ decorate_set_on_listener ( 'oninput' , '(self,new_value)' ) #NEWLINE# def set_oninput_listener( self , listener , funcname ) : #NEWLINE# #INDENT# self . attributes [ self . EVENT_ONINPUT ] = ( "var params={};params['value']=document.getElementById('%(id)s').value;sendCallbackParam('%(id)s','%(evt)s',params);" % { #NEWLINE# #INDENT# 'id' : id ( self ) , #NEWLINE# 'evt' : self . EVENT_ONINPUT , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . eventManager . register_listener ( self . EVENT_ONINPUT , listener , funcname )