Użytkownik Nate Lowrie napisał:
> Here is a doozy.  I included my current bizobj code below.  When it
> runs, validate record is fired and everything is good.  However, I am
> getting some weird behavior when:
>
> 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
>
> If I comment the line out again and run my app, the validateRecord
> method fires for both new and existing records.
>    

The validateRecord() method is called only for changed records.
Any default value doesn't change record/memento status.
But you are right, IMHO there should be added SaveNewUnchanged
property check, isn't it?

-- 
Regards
Jacek Kałucki

_______________________________________________
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