Author: reinhard
Date: 2009-10-15 08:12:49 -0500 (Thu, 15 Oct 2009)
New Revision: 9971
Modified:
trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py
Log:
Send dsRecordLoaded message whenever data is retrieved from the backend.
issue64 testing
Modified: trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py 2009-10-15 08:45:25 UTC (rev 9970)
+++ trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py 2009-10-15 13:12:49 UTC (rev 9971)
@@ -721,6 +721,9 @@
for (dataSource, resultSet) in self.__cachedDetailResultSets.items ():
dataSource._requeryResultSet (self, resultSet)
+ # Recalculate calculated fields.
+ self.__dispatchEvent ('dsRecordLoaded')
+
# ---------------------------------------------------------------------------
# Requery this record
@@ -731,6 +734,7 @@
newfields = self.__connection.requery (self.__tablename,
self.__wherefields (), fields)
self.__fields.update (newfields)
+ self.__dispatchEvent ('dsRecordLoaded')
# ---------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.