[rhmessaging-commits] rhmessaging commits: r4153 - mgmt/newdata/wooly/python/wooly.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Tue Jul 27 15:11:04 EDT 2010


Author: justi9
Date: 2010-07-27 15:11:04 -0400 (Tue, 27 Jul 2010)
New Revision: 4153

Modified:
   mgmt/newdata/wooly/python/wooly/datatable.py
Log:
Get data at the start of the render pass so defered updates can work

Modified: mgmt/newdata/wooly/python/wooly/datatable.py
===================================================================
--- mgmt/newdata/wooly/python/wooly/datatable.py	2010-07-27 18:22:43 UTC (rev 4152)
+++ mgmt/newdata/wooly/python/wooly/datatable.py	2010-07-27 19:11:04 UTC (rev 4153)
@@ -117,9 +117,7 @@
         values = self.get_data_values(session)
         return self.adapter.get_count(values)
 
-    def do_process(self, session):
-        super(DataTable, self).do_process(session)
-
+    def do_render(self, session):
         start = time.time()
 
         data = self.get_data(session)
@@ -130,6 +128,8 @@
         self.summary.set(session, (len(data), seconds))
         self.count.set(session, self.get_count(session))
 
+        return super(DataTable, self).do_render(session)
+
     def render_font_size(self, session):
         return "%.1fem" % self.header.font.get(session)
 



More information about the rhmessaging-commits mailing list