commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r8681 - trunk/gnue-forms/src/GFObjects


From: reinhard
Subject: [gnue] r8681 - trunk/gnue-forms/src/GFObjects
Date: Wed, 13 Sep 2006 15:24:25 -0500 (CDT)

Author: reinhard
Date: 2006-09-13 15:24:24 -0500 (Wed, 13 Sep 2006)
New Revision: 8681

Modified:
   trunk/gnue-forms/src/GFObjects/GFField.py
Log:
Updated docstring.


Modified: trunk/gnue-forms/src/GFObjects/GFField.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFField.py   2006-09-13 16:06:14 UTC (rev 
8680)
+++ trunk/gnue-forms/src/GFObjects/GFField.py   2006-09-13 20:24:24 UTC (rev 
8681)
@@ -185,14 +185,8 @@
 
     def getValue(self):
         """
-        Return the current value of the field. If the block is in query mode
-        the value returned is the value which has been set the last time using
-        setValue () while in query mode. If the block is in initialization mode
-        the return value is the corresponding value from the block's
-        initializingRecord. Otherwise the result will be the current record's
-        value. None will be converted to an empty string. And string values
-        (either plain or unicode) will be trimmed depending on the ltrim- and
-        rtrim-attributes.
+        Return the current value of the field, depending on the state of the
+        form and the block.
         """
 
         value = self._block.get_value(self)
@@ -215,12 +209,8 @@
 
     def setValue(self, value):
         """
-        Set the current value of the field. If the block is in query mode, the
-        value will be stored in the query-values used for later retrieval in
-        query mode. If the block is in initialization mode, the value will be
-        stored in the blocks' initializingRecord dictionary. Otherwise the
-        value will be stored in the current record. The Pre- and
-        PostChange-triggers will be fired on field- and block-level.
+        Set the current value of the field, depending on the state of the form
+        and the block.
         """
 
         if isinstance(value, basestring):





reply via email to

[Prev in Thread] Current Thread [Next in Thread]