[Pyobjc-dev] Re: a binding problem
Brought to you by:
ronaldoussoren
From: b.bum <bb...@ma...> - 2004-04-07 18:22:19
|
On Apr 7, 2004, at 6:03 AM, Ronald Oussoren wrote: > With the arrival of the new binding examples I finally spent some time > to convert an existing application to Cocoa bindings. I immediately > ran into a problem that can easily be reproduced using the > TableModelWithSearch example: > > 1) Open the NIB > 2) Change the attributes for the table view: deselect 'allow empty > selection' > 3) Add a text field and bind that to the 'name' key of the 'selection' > of the NSArrayController > > All seems to be well when you run the application, the name of the > selected row is also shown in the text field, even when you select > another row. However, when you enter a query in the search box, the > text field remains empty (it contains 'no entry selected') even though > the table view does contain a selected row. > > Do you have any idea what may be wrong (me, PyObjC, Cocoa)? A Cocoa Bindings bug. Filed as #3615180. I verified the behavior in a handy ObjC app I had laying around. Thanks! b.bum |