On Apr 1, 2007, at 7:59 PM, Larry Bradley wrote:
> 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?
Uwe's given you the correct way to get a bizobj reference. As I
recall, it isn't that different than the way Codebook resolved
bizobjs. A lot of the design of the inter-layer referencing came from
Codebook, since it proved to be rock-solid in over a decade of apps
built by myself and others.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
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]