On Apr 7, 2007, at 12:40 PM, <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> wrote:
> File "d:\dabo\dabo\ui\uiwx\dPemMixin.py", line 292, in _afterInit
> self.afterInit()
> File "d:\pyProject\LotsMfrm1.py", line 159, in afterInit
> sp=RALookupPanel(self, TargetBizObj=self.Form.PrimaryBizobj,
> BizObjField='fk_species', CodeObjRegID='txtSpeciesCodeID',
> CodeObjFindBtnRegID='btnSpeciesCodeID',
> DescObjRegID='txtSpeciesNameID',
> DescObjFindBtnRegID='btnSpeciesNameID',
> LookupBizObj=self.Form.SpeciesLookup, LookupCodeField='specnum',
> LookupDescField='specname')
> File "d:\dabo\dabo\ui\dPemMixinBase.py", line 151, in _getForm
> return self._cachedForm
My guess is that you are trying to reference 'self.Form' before the
object has fully finished instantiating. Try moving that code from
afterInit() to afterInitAll() - that generally cleans up errors like
this.
-- 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]