[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r9099 - trunk/gnue-forms/src/GFObjects
From: |
reinhard |
Subject: |
[gnue] r9099 - trunk/gnue-forms/src/GFObjects |
Date: |
Mon, 4 Dec 2006 07:22:29 -0600 (CST) |
Author: reinhard
Date: 2006-12-04 07:22:28 -0600 (Mon, 04 Dec 2006)
New Revision: 9099
Modified:
trunk/gnue-forms/src/GFObjects/GFBlock.py
trunk/gnue-forms/src/GFObjects/GFField.py
Log:
Removed unused function GFField.isQueryable() (always returned True).
Modified: trunk/gnue-forms/src/GFObjects/GFBlock.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFBlock.py 2006-12-04 12:42:06 UTC (rev
9098)
+++ trunk/gnue-forms/src/GFObjects/GFBlock.py 2006-12-04 13:22:28 UTC (rev
9099)
@@ -1465,7 +1465,7 @@
conditions = []
# Get all the user-supplied parameters from the entry widgets
for entry, val in self.__query_values.items():
- if entry._bound and entry.isQueryable() and len(("%s" % val)):
+ if entry._bound and len(("%s" % val)):
# New : operator support
match = False
Modified: trunk/gnue-forms/src/GFObjects/GFField.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFField.py 2006-12-04 12:42:06 UTC (rev
9098)
+++ trunk/gnue-forms/src/GFObjects/GFField.py 2006-12-04 13:22:28 UTC (rev
9099)
@@ -88,7 +88,6 @@
self._uppercase = False
self._lowercase = False
self._numeric = False
- self._queryable = True
self.__is_lookup = False
self._allowedValues = None
@@ -224,15 +223,6 @@
# -------------------------------------------------------------------------
- # Determine wether a field is queryable or not
- # -------------------------------------------------------------------------
-
- def isQueryable(self):
-
- return self._queryable
-
-
- # -------------------------------------------------------------------------
# Determine wether a field is editable or not
# -------------------------------------------------------------------------
@@ -241,7 +231,7 @@
mode = self._form.getCurrentMode()
if mode == 'query':
- return self.isQueryable () and self._block.queryable
+ return self._block.queryable
elif self._form.readonly:
return False
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r9099 - trunk/gnue-forms/src/GFObjects,
reinhard <=