On Thursday 14 August 2008 08:53:12 am Ed Leafe wrote:
> On Aug 14, 2008, at 11:35 AM, Paul McNett wrote:
> > If so, when you call form.save(), biz1's save should call biz2's
> > saveAll(). But only if biz2 is a child of biz1. If it isn't a
> > parent/child relationship between biz1 and biz2, but biz1 "knows
> > about"
> > biz2, then you could override biz1's save() to call whatever method(s)
> > need to be called in biz2 when biz1 is saved.
>
>       Better: handle it in biz1.afterSave(), which is what that method is
> for.
>
> -- Ed Leafe

Yes!  Never came to mind.



-- 
John Fabiani


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to