Why would you put the application subclass in the ui folder? I normally put it in the base folder. I guess I am not seeing the benefit of using the UiApp directory. Can you give a good example?
Regards, Nate On Sun, Jan 3, 2010 at 10:26, Ed Leafe <[email protected]> wrote: > dabo Commit > Revision 5583 > Date: 2010-01-03 07:26:00 -0800 (Sun, 03 Jan 2010) > Author: Ed > Trac: http://trac.dabodev.com/changeset/5583 > > Changed: > U trunk/ide/wizards/AppWizard/spec-main.py.txt > > Log: > Changed the order in which we import the app subdirectory modules. This is > necessary when using a customized uiApp subclass, which would typically be > added as a class in the ui module, and then used by overriding the app > creation line: > > app = App(SourceURL=remotehost, UIAppClass=ui.MyCustomUIClass) > > > Diff: > Modified: trunk/ide/wizards/AppWizard/spec-main.py.txt > =================================================================== > --- trunk/ide/wizards/AppWizard/spec-main.py.txt 2010-01-03 15:16:04 > UTC (rev 5582) > +++ trunk/ide/wizards/AppWizard/spec-main.py.txt 2010-01-03 15:26:00 > UTC (rev 5583) > @@ -14,13 +14,13 @@ > if sys.platform[:3] == "win": > dabo.settings.MDI = True > > -from App import App > -app = App(SourceURL=remotehost) > - > import db > import biz > import ui > > +from App import App > +app = App(SourceURL=remotehost) > + > app.db = db > app.biz = biz > app.ui = ui > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
