Nothing changed? I changed it with the grid. Shouldn't that change the
bizobj too?


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Ed Leafe
Sent: 8. januar 2008 14:14
To: Dabo Users list
Subject: Re: [dabo-users] bizobj problems.

On Jan 8, 2008, at 6:42 AM, Simen Haugen wrote:

> If I use bizobj.new() and uses a grid to edit the values, then
> saveAll(), the changed rows is [None, None, None]... And of course  
> gives
> an error when trying to move thru the rows.

        There is nothing changed in the newly-added row, so it is
discarded,  
leaving an empty data set. Default values are not considered 'changed'.

        To change this behavior, you need to set the bizobj property  
SaveNewUnchanged to True.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




[excessive quoting removed by server]

_______________________________________________
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]

Reply via email to