Nate Lowrie wrote:
> On Mon, Jul 7, 2008 at 7:38 PM, Nate Lowrie <[EMAIL PROTECTED]> wrote:
>>  File "C:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx\dGrid.py", 
>> li
>> ne 3922, in _getDataSet
>>    ret = self.Source
>> AttributeError: 'controlMix' object has no attribute 'Source'
> 
> 
> Ed,
> 
> I have some feedback for you.  The part in question comes from your
> commit in 4186.  The diff is below.  Why did you make the changes you
> made and where is this self.Source?  I couldn't find it anyway.  I
> thought you might have meant to say self.DataSource but that
> introduced a slew of errors.

Source is defined in dabo/ui/dDataControlMixinBase.py and is a read-only 
property that will return a reference to the resolved object that 
handles getting/setting the Value. Usually, self.Source will get you a 
bizobj reference.

But I'm out of my element with regard to the controlMix object. It is my 
understanding that controlMix is a mix between a designer object and the 
actual object. IOW, it has more features than the control does, but it 
also may override some of the base functionality, keeping actual code 
from firing, etc.

We'll have to wait for Ed to figure out your problem, but I thought I'd 
at least point you to where the Source property is defined.

Paul


_______________________________________________
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