On Feb 18, 2010, at 6:08 PM, Nate Lowrie wrote:

> I uncomment the DefaultValues line
> Existing records call validateRecord fine
> I call the new method on the bizobj and try to save the new record
> validateRecord never is called on save

        Did you actually change anything in that new record? All that 
DefaultValues does is populate fields with values other than the default 
"blank" value for the data type. The 'snapshot' that determines if a record has 
changed is taken *after* DefaultValues has been applied.

> If I comment the line out again and run my app, the validateRecord 
> method fires for both new and existing records.


        Is the new record saved in the first case? IOW, does Dabo think that it 
is a changed record?


-- Ed Leafe



_______________________________________________
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/[email protected]

Reply via email to