[rhmessaging-commits] rhmessaging commits: r3383 - mgmt/trunk/wooly/python/wooly.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Tue May 19 13:55:07 EDT 2009


Author: eallen
Date: 2009-05-19 13:55:07 -0400 (Tue, 19 May 2009)
New Revision: 3383

Modified:
   mgmt/trunk/wooly/python/wooly/__init__.py
Log:
Accumulate update_enabled widgets in render loop since not all widgets get processed.

Modified: mgmt/trunk/wooly/python/wooly/__init__.py
===================================================================
--- mgmt/trunk/wooly/python/wooly/__init__.py	2009-05-19 17:50:36 UTC (rev 3382)
+++ mgmt/trunk/wooly/python/wooly/__init__.py	2009-05-19 17:55:07 UTC (rev 3383)
@@ -231,9 +231,6 @@
                               self, session, None)
             call.open()
 
-        if self.update_enabled:
-            self.page.enable_update(session, self)
-
         args = self.get_args(session)
         self.do_process(session, *args)
 
@@ -253,6 +250,9 @@
         args = self.get_args(session)
         string = self.do_render(session, *args)
 
+        if self.update_enabled:
+            self.page.enable_update(session, self)
+
         if self.defer_enabled:
             self.page.enable_defer(session, self)
 




More information about the rhmessaging-commits mailing list