On Apr 24, 2007, at 10:39 AM, Carl Karsten wrote:
> Traceback (most recent call last):
> File "/usr/lib/python2.4/site-packages/dabo/lib/eventMixin.py",
> line 98, in
> raiseEvent
> bindingFunction(event)
> File "/usr/lib/python2.4/site-packages/dabo/ui/uiwx/
> dPemMixin.py", line 1090,
> in __onUpdate
> self.update()
> File "/usr/lib/python2.4/site-packages/dabo/ui/
> dDataControlMixinBase.py",
> line 106, in update
> if self.Source and self._srcIsBizobj:
> File "/usr/lib/python2.4/site-packages/dabo/ui/
> dDataControlMixinBase.py",
> line 372, in _getSrc
> if ds.lower() == "form":
> AttributeError: 'myClass' object has no attribute 'lower'
OK, I see the problem there. The code for handling the DataSource is
assuming that all objects that will be used as a DataSource are Dabo
objects; i.e., they inherit from dObject. I'm guessing that 'MyClass'
does not.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]