daboide Commit
Revision 225
Date: 2005-11-06 17:54:26 -0800 (Sun, 06 Nov 2005)
Author: paul
Changed:
U trunk/wizards/AppWizardX/AppWizard.py
U trunk/wizards/AppWizardX/spec-BizBase.py
Log:
Modified AppWizardX to once again optionally create 1:M relationships. Unless
there's any objection, I'll replace the original appwizard with appwizardx
sometime this week.
Diff:
Modified: trunk/wizards/AppWizardX/AppWizard.py
===================================================================
--- trunk/wizards/AppWizardX/AppWizard.py 2005-11-04 04:32:38 UTC (rev
224)
+++ trunk/wizards/AppWizardX/AppWizard.py 2005-11-07 01:54:26 UTC (rev
225)
@@ -531,9 +531,7 @@
def nextPage(self):
""" If they have selected only one table, skip the relations
page """
- ## pkm: I'm not thinking about relations yet, so skip relations
page
- ## unconditionally for now.
- if True or len(self.getSelection()) == 1:
+ if len(self.getSelection()) == 1:
return 2
else:
return 1
@@ -570,9 +568,7 @@
def prevPage(self):
""" If they have selected only one table, skip the relations
page """
- ## pkm: I'm not thinking about relations yet, so skip relations
page
- ## unconditionally for now.
- if True or len(self.Form.selectedTables) == 1:
+ if len(self.Form.selectedTables) == 1:
return -2
else:
return -1
Modified: trunk/wizards/AppWizardX/spec-BizBase.py
===================================================================
--- trunk/wizards/AppWizardX/spec-BizBase.py 2005-11-04 04:32:38 UTC (rev
224)
+++ trunk/wizards/AppWizardX/spec-BizBase.py 2005-11-07 01:54:26 UTC (rev
225)
@@ -6,3 +6,6 @@
Base.doDefault()
self.setBaseSQL()
+
+ def setBaseSQL(self):
+ pass
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev