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

Author: Miguel Lopes

Posted: 2009-07-12 at 08:25:06

On Sun, Jul 12, 2009 at 12:39 PM, Miguel Lopes<mig.e.lopes@gmail.com> wrote:

>

> 2. Here's what I've tried and the woes I got!

> After failed attempts at using confirmChanges() and isAnyChanged(), I

> tried form.requery() but this gives raise to a strange exception when

> I pressed "Yes" on the save changes dialog. If I press "No" everything

> works well, and if I press "Cancel" the navigation happens without

> problems and when I get back to the Page I get the dialog again!

Also self.PrimaryBizobj.getChangedRows(includeNewUnchanged=True)

returns an empty list. Should it not return a the current record

(since I changed something in the ui)?

Miguel

©2009 Miguel Lopes