Re: [dabo-dev] dabo Commit 7278

Author: Jacek Kałucki

Posted: 2012-10-14 at 05:38:31

Użytkownik Nate Lowrie napisał:

> ===================================================================

> --- trunk/dabo/biz/dBizobj.py 2012-10-11 19:13:53 UTC (rev 7277)

> +++ trunk/dabo/biz/dBizobj.py 2012-10-13 18:39:16 UTC (rev 7278)

> @@ -21,8 +21,6 @@

>

> class dBizobj(dObject):

> """ The middle tier, where the business logic resides."""

> - # Class to instantiate for the cursor object

> - dCursorMixinClass = dCursorMixin

> # Tell dObject that we'll call before and afterInit manually:

> _call_beforeInit, _call_afterInit, _call_initProperties = False, False, False

Hi.

This change breaks all my applications, since they don't get customized cursor class anymore,

they get default one from the backend instead.

Why not simply reference dBizobj.dCursorMixinClass class attribute with your customized

cursor if you need it?

You should create dBizobj.getCursorMixinClass() method at last to allow override default cursor

creation chain behaviour.

--

Regards

Jacek Kałucki

_______________________________________________

Post Messages to: Dabo-dev@mail.leafe.com

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/507A9627.30301@rz.onet.pl

©2012 Jacek Kałucki