Well, I'm having a problem:
In the form's createBizobs method, after defintion of the bizobj, I have:
membertableBizobj = MembertableBizobj(self.Connection)
self.addBizobj(membertableBizobj)
Then in the afterInitAll method I have:
self.cboMemberCategory.Choices,self.cboMemberCategory.Keys =
self.membertableBizobj.getAvailableTypes()
where cboMemberCategory is a combo box on the form. I was assuming that
self.membertavleBizobj is how I reference the bizobj, but I get the following:
Traceback (most recent call last):
File "c:\python25\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py",
line 13830, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "c:\dabo\dabo\ui\uiwx\dPemMixin.py", line 302, in _afterInitAll
self.afterInitAll()
File "c:\docume~1\admini~1.000\locals~1\temp\tmp8mccdw.py", line 237, in
afterInitAll
self.cboMemberCategory.Choices,self.cboMemberCategory.Keys =
self.membertableBizobj.getAvailableTypes()
AttributeError: 'dForm_210274640' object has no attribute 'membertableBizobj'
How have I screwed up THIS time?
Larry Bradley
Orleans (Ottawa), Ontario, CANADA
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
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/dabo-users/[EMAIL PROTECTED]