Re: [dabo-users] Pycon Tutorial dropdownlist problem

2010-04-01 Thread Ed Leafe
On Apr 1, 2010, at 9:02 PM, Steve Rose wrote: > After modifying the following lines of the tutorial code, I was finally able > to make the dropdownlist display its data correctly. > Here are the changes I made to the afterInitAll method to get it work: > > def afterInitAll(self): > ###client

[dabo-users] Pycon Tutorial dropdownlist problem

2010-04-01 Thread Steve Rose
Thanks for pointing out the typo in my debugging. Now I can see that the form knows about the clientBizobj. I cut and pasted in the code from the tutorial for the afterInitAll of the dropdownlist and also the getNamesAndValues method for the ClientBizobj. When run, the form opened with all cont

Re: [dabo-users] Pycon Tutorial dropdownlist problem

2010-04-01 Thread Ed Leafe
On Apr 1, 2010, at 5:42 PM, Steve Rose wrote: > bzc = self.getBizobj('client') > print 'bzc: ', bzc > ### ---> prints: None > > The form didn't seem to know about the clientBizobj, so I checked the > following: > In my bz folder I have ClientBizobj.py containing Class ClientBizobj usi

[dabo-users] Pycon Tutorial dropdownlist problem

2010-04-01 Thread Steve Rose
First, please note that I have hand coded my forms for awhile, so I'm rusty on using the CD. Using the revised Pycon Tutorial, I tried to get the dropdownlist control working. I kept getting an error message at runtime that there was no method called "getNamesAndKeys". I replaced the dropdown's af