On Jan 22, 2011, at 5:19 AM, David Martinez wrote:
> PubliccustomerBizobj.addChild(PublichistoryBizobj)
Here you are adding a class to a class inside a class definition; that
won't work. You need to work with instances:
biz = self.Application.biz
cust = biz.PubliccustomerBizobj()
hist = biz.PublichistoryBizobj()
cust.addChild(hist)
Generally, this code would go in the form's createBizobjs() method;
note that I added a reference to the biz module, which is where these modules
will be defined in your app.
-- Ed Leafe
_______________________________________________
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]