On Wednesday, October 26, 2011 10:19:58 am Paul McNett wrote:
> On 10/26/11 9:58 AM, John Fabiani wrote:
> > If I understand this change I have to add "RequeryChildrenOnNavigate =
> > True" to the bizobj to get the old functionally.  Is that right?
> 
> No, RequeryChildrenOnNavigate is True by default. However, if you are
> running into trouble with the change as it is please let me know.
> 
> Paul

python 2.6.x 
wxPython 2.8.11
openSUSE 11.3  - same problem on Windows XP


Yes I am.  It appears that a grid selection is causing the error.  In the grid 
my DataSource is a method that changes the UserSQL.   It is coming from a 
(dEvents.GridCellSelected) event in dGrid.py (__onWxGridSelectCell).

in dForm:

if getattr(self, "__oldChildRequery", None) is None:
                        self.__oldChildRequery = biz.RequeryChildrenOnNavigate
                        biz.RequeryChildrenOnNavigate = False


AttributeError: 'ClientReadOnly' object has no attribute 
'RequeryChildrenOnNavigate'

If I add RequeryChildrenOnNavigate = True to the bizobj of ClientReadOnly all 
works.


Johnf

_______________________________________________
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]

Reply via email to