Add those 4 lines to my createBizobjs() method and the error went away. 
However, when I try to run the app, a dialog box appears saying 
"Attribute Error: 'NoneType' object has no attribute 'addForm'"



On 1/22/2011 9:36 AM, Ed Leafe wrote:
> 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]
_______________________________________________
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]

Reply via email to