[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7247 - in trunk/gnue-common/src/datasources: . drivers/Base
From: |
reinhard |
Subject: |
[gnue] r7247 - in trunk/gnue-common/src/datasources: . drivers/Base |
Date: |
Mon, 21 Mar 2005 13:18:46 -0600 (CST) |
Author: reinhard
Date: 2005-03-21 13:18:46 -0600 (Mon, 21 Mar 2005)
New Revision: 7247
Modified:
trunk/gnue-common/src/datasources/GDataSource.py
trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py
Log:
Added attribute "requery" to datasource defining whether requeries should
happen for this datasource or not (defaulting to True).
Modified: trunk/gnue-common/src/datasources/GDataSource.py
===================================================================
--- trunk/gnue-common/src/datasources/GDataSource.py 2005-03-21 18:52:46 UTC
(rev 7246)
+++ trunk/gnue-common/src/datasources/GDataSource.py 2005-03-21 19:18:46 UTC
(rev 7247)
@@ -741,7 +741,7 @@
'key value at the time of update (whether '
'via a trigger or by the use of '
'{primarykeyseq}.',
- 'Typecast': GTypecast.text }
+ 'Typecast': GTypecast.boolean }
},
'ParentTags': None },
Modified: trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py 2005-03-21
18:52:46 UTC (rev 7246)
+++ trunk/gnue-common/src/datasources/drivers/Base/RecordSet.py 2005-03-21
19:18:46 UTC (rev 7247)
@@ -445,7 +445,9 @@
child.requery ()
# Now requery ourselves
- self.__requery ()
+ ds = self._parent._dataObject._dataSource
+ if ds and ds.requery:
+ self.__requery ()
# ---------------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7247 - in trunk/gnue-common/src/datasources: . drivers/Base,
reinhard <=