view.py
changeset 4063 cf7d6211d957
parent 4061 e1fba59b5c34
parent 4062 d16b2927afe6
child 4141 637170c17643
equal deleted inserted replaced
4061:e1fba59b5c34 4063:cf7d6211d957
   472         rql = self.cw_rset.printable_rql()
   472         rql = self.cw_rset.printable_rql()
   473         return "javascript:userCallbackThenUpdateUI('%s', '%s', %s, %s, '%s', '%s')" % (
   473         return "javascript:userCallbackThenUpdateUI('%s', '%s', %s, %s, '%s', '%s')" % (
   474             cbname, self.__regid__, dumps(rql), dumps(msg),
   474             cbname, self.__regid__, dumps(rql), dumps(msg),
   475             self.__registry__, self.div_id())
   475             self.__registry__, self.div_id())
   476 
   476 
   477      def build_reload_js_call(self, cbname, msg):
   477     def build_reload_js_call(self, cbname, msg):
   478          return "javascript:userCallbackThenReloadPage('%s', %s)" % (cbname, dumps(msg))
   478         return "javascript:userCallbackThenReloadPage('%s', %s)" % (cbname, dumps(msg))
   479 
   479 
   480     build_js = build_update_js_call # expect updatable component by default
   480     build_js = build_update_js_call # expect updatable component by default
   481 
   481 
   482     def div_id(self):
   482     def div_id(self):
   483         return ''
   483         return ''