Użytkownik Paul McNett napisał: > On 1/26/10 12:46 PM, Jacek Kałucki wrote: > >> 2) when using classes from lib.datanav module, if there are >> child bizobjs and more than one edit page, because >> each page modifies form PrimaryBizobj property, >> so save for current bizobj is issued instead of its new parent. >> Soultion: datanav.Form.save() should restore PrimaryBizobj before >> save. >> > I don't think PrimaryBizobj should change at all for the different edit > pages. Unless > of course the developer wants that and explicitly codes it. Shouldn't > PrimaryBizobj > be pretty much static in the life of the form? >
But it is in __onPageEnter() event. There are methods setPrimaryBizobjToDefault() and getBizobjsToCheck(), but not implemented in save(). -- 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]
