Re: [dabo-dev] dabo Commit 4040

Author: johnf

Posted: 2008-04-16 at 11:46:40

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

©2008 johnf