Re: [dabo-users] forcing bizobj to recognize ui change & exception

Author: Miguel Lopes

Posted: 2009-07-12 at 09:33:50

On Sun, Jul 12, 2009 at 2:02 PM, Ed Leafe<ed@leafe.com> wrote:

> On Jul 12, 2009, at 6:39 AM, Miguel Lopes wrote:

>

>> =A0File "/Library/Frameworks/Python.framework/Versions/2.5/lib/

>> python2.5/site-packages/dabo/ui/uiwx/dForm.py",

>> line 165, in confirmChanges

>> =A0 =A0self.save(dataSource=3Dbiz.DataSource)

>> TypeError: save() got an unexpected keyword argument 'dataSource'

>

> =A0 =A0 =A0 =A0Did you override the save() method of your form? If so, ca=

n you post

> your modified save()?

>

>

> -- Ed Leafe

Well, not much of an override!

def save(self, evt): self.super()

Miguel

©2009 Miguel Lopes