Author: reinhard
Date: 2005-04-18 10:47:48 -0500 (Mon, 18 Apr 2005)
New Revision: 7399

Modified:
   trunk/gnue-forms/src/GFObjects/GFBlock.py
Log:
Own implementation of of call() and update() triggers.


Modified: trunk/gnue-forms/src/GFObjects/GFBlock.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFBlock.py   2005-04-18 13:44:23 UTC (rev 
7398)
+++ trunk/gnue-forms/src/GFObjects/GFBlock.py   2005-04-18 15:47:48 UTC (rev 
7399)
@@ -665,8 +665,9 @@
 
   def callFunction (self, name, parameters):
     try:
-      res = self._dataSourceLink.callFuncOfCurrentRecordsetEntry (name,
-                        parameters)
+      self._dataSourceLink.postAll ()
+      res = self._resultSet.current.call (name, parameters)
+      self._dataSourceLink.requeryAll ()
     finally:
       self.switchRecord (0)
 
@@ -679,8 +680,8 @@
 
   def updateCurrentRecordSet (self):
     try:
-      self._dataSourceLink.updateCurrentRecordSet ()
-
+      self._dataSourceLink.postAll ()
+      self._dataSourceLink.requeryAll ()
     finally:
       self.switchRecord (0)
 



_______________________________________________
Commit-gnue mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to