commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r8921 - trunk/gnue-forms/src/GFObjects


From: reinhard
Subject: [gnue] r8921 - trunk/gnue-forms/src/GFObjects
Date: Tue, 24 Oct 2006 14:10:38 -0500 (CDT)

Author: reinhard
Date: 2006-10-24 14:10:37 -0500 (Tue, 24 Oct 2006)
New Revision: 8921

Modified:
   trunk/gnue-forms/src/GFObjects/GFBlock.py
Log:
Fixed refreshing of ui after query. Not yet working with several independent
blocks (non master/detail relationship) on the same form.


Modified: trunk/gnue-forms/src/GFObjects/GFBlock.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFBlock.py   2006-10-24 18:55:18 UTC (rev 
8920)
+++ trunk/gnue-forms/src/GFObjects/GFBlock.py   2006-10-24 19:10:37 UTC (rev 
8921)
@@ -982,13 +982,16 @@
             exist._children = [c]
             conditions = GConditions.combineConditions(conditions, exist)
 
+        for block in self._logic._blockList:
+            block.mode = 'normal'
+
+        # FIXME: This leaves blocks not affected from this query unupdated
         rootBlock._dataSourceLink.createResultSet(conditions)
 
         for block in self._logic._blockList:
             block.processTrigger('POST-QUERY')
             for field in block._fieldList:
                 field.processTrigger('POST-QUERY')
-            block.cancel_query()
 
 
     # -------------------------------------------------------------------------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]