On Wednesday 16 April 2008 08:19:13 am Ed Leafe wrote:
> So this is being called before the afterInit() of the bizobj has run?
I just keep my bizobj's in seperate files and import them in the
createBizobs(). But they follow the standard format that is created by
ClassDesigner. So the answer is no.
> Can you change getDataTypeForField() to the code below, and let me
> know what it prints out?
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> def getDataTypeForField(self, fld):
/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py:7852 in
MainLoop:
wx.PyApp.MainLoop(self)
/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py:7213 in
MainLoop:
return _core_.PyApp_MainLoop(*args, **kwargs)
/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py:14345 in
<lambda>:
lambda event: event.callable(*event.args,
**event.kw) )
/home/johnf/downloads/dabo/dabo/ui/uiwx/dGrid.py:713 in
_setDataTypeFromDataField:
dt = self.Parent.typeFromDataField(fld)
/home/johnf/downloads/dabo/dabo/ui/uiwx/dGrid.py:1927 in typeFromDataField:
pyType = biz.getDataTypeForField(df)
/home/johnf/downloads/dabo/dabo/biz/dBizobj.py:1461 in getDataTypeForField:
lp = dabo.dBug.logPoint()
VF KEYS: %s ['prodcostDescript']
--
John Fabiani
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]