[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r8992 - in trunk/gnue-forms/src: . GFObjects
From: |
reinhard |
Subject: |
[gnue] r8992 - in trunk/gnue-forms/src: . GFObjects |
Date: |
Tue, 7 Nov 2006 13:34:34 -0600 (CST) |
Author: reinhard
Date: 2006-11-07 13:34:33 -0600 (Tue, 07 Nov 2006)
New Revision: 8992
Modified:
trunk/gnue-forms/src/GFObjects/GFField.py
trunk/gnue-forms/src/GFParser.py
Log:
Renamed auto_query attribute to autoquery.
Modified: trunk/gnue-forms/src/GFObjects/GFField.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFField.py 2006-11-07 19:31:32 UTC (rev
8991)
+++ trunk/gnue-forms/src/GFObjects/GFField.py 2006-11-07 19:34:33 UTC (rev
8992)
@@ -304,8 +304,8 @@
value = value.lstrip()
# Auto-query support
- if (self.auto_query == 'Y') or \
- (self.auto_query == 'NEW' and self._block.is_empty()):
+ if (self.autoquery == 'Y') or \
+ (self.autoquery == 'new' and self._block.is_empty()):
self._block.query({self.field: value})
if self._block.is_empty():
# Query returned no result, so set the field value
Modified: trunk/gnue-forms/src/GFParser.py
===================================================================
--- trunk/gnue-forms/src/GFParser.py 2006-11-07 19:31:32 UTC (rev 8991)
+++ trunk/gnue-forms/src/GFParser.py 2006-11-07 19:34:33 UTC (rev 8992)
@@ -643,7 +643,7 @@
'Label': _('Allow Query'),
'Typecast': GTypecast.boolean,
'Default': True },
- 'auto_query': {
+ 'autoquery': {
'Description': 'If {Y} then any changes in this field will '
'cause the form to automatically query and '
'populate itself with matching records. If '
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r8992 - in trunk/gnue-forms/src: . GFObjects,
reinhard <=