Ed Leafe wrote: > On Dec 3, 2009, at 5:55 PM, jvandal wrote: > >> I have searched the folder i created in appWizard. I cannot find >> what I would >> expect a "class ZooBizobj(dabo.biz.dbBizobj)". I find Zoo and >> Species and >> Base but ??? >> that contains self.AddField =" > > > AppWizard uses a layered hierarchy. There is a Base.py in the biz > directory, and then a <Table>.py for each table in your app. In your > case, you would have a Zoo.py and Species.py. They define bizobjs that > inherit from the Base bizobj defined in Base.py. You don't need to > (and probably shouldn't!) mess with Base.py; you only need to > customize Zoo.py and Species.py.
New users shouldn't mess with Base.py, but it is there to be customized. Say you want all of your bizobjs to have a certain behavior, like FillLinkFromParent. Set it in Base.py instead of each bizobj separately. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
