daboide Commit
Revision 764
Date: 2007-01-22 22:52:20 -0800 (Mon, 22 Jan 2007)
Author: Johnf
Changed:
U trunk/ClassDesignerFormMixin.py
Log:
Added to remove the "." to support Postgres's use of using schema.tableName to
identify a unique table. The ClassDesignerFormMixin was using the entire name.
Diff:
Modified: trunk/ClassDesignerFormMixin.py
===================================================================
--- trunk/ClassDesignerFormMixin.py 2007-01-22 19:27:25 UTC (rev 763)
+++ trunk/ClassDesignerFormMixin.py 2007-01-23 06:52:20 UTC (rev 764)
@@ -631,6 +631,8 @@
def addBizobjCode(self, info):
tbl = info["table"]
tblSafe = tbl.replace(" ", "_")
+ #JFCS 01/22/07 added below to support schema.tableName by
removing dot
+ tblSafe = tblSafe.replace(".", "")
tblTitle = tblSafe.title()
lowbiz = tblSafe[0].lower() + tblSafe[1:] + "Bizobj"
pk = info["pk"]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev