dabo Commit
Revision 2358
Date: 2006-10-16 18:25:54 -0700 (Mon, 16 Oct 2006)
Author: paul

Changed:
U   trunk/dabo/ui/uiwx/dTextBox.py

Log:
If the field value from the database came over as None originally, dTextBox
wouldn't let the user change the value to anything else. This change at
least makes it work assuming the field type is a string. A more robust 
solution will need to be made for this to work with other data types,
however, such as dTextBox querying the bizobj's DataStructure to find out
what data type we are expecting.


Diff:
Modified: trunk/dabo/ui/uiwx/dTextBox.py
===================================================================
--- trunk/dabo/ui/uiwx/dTextBox.py      2006-10-17 00:59:50 UTC (rev 2357)
+++ trunk/dabo/ui/uiwx/dTextBox.py      2006-10-17 01:25:54 UTC (rev 2358)
@@ -25,7 +25,7 @@
                self._baseClass = dTextBox
 
                self._dregex = {}
-               self._lastDataType = None
+               self._lastDataType = unicode
                self._forceCase = None
                self._inForceCase = False
 




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to