johnf wrote:
> On Wednesday 13 August 2008 08:51:29 pm Paul McNett wrote:
>> But, if you expect self.Form.save() to work, self.Form needs to know
>> about the bizobj(s) that it is supposed to save to.

> No my test include the adding of the second bizobj

Can you give us a better idea? Is it something like:


  conn1                           conn2
    |                               |
    |                               |
   biz1----parent/child----------> biz2
    |
    |
  form
    |
    |
controls

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.

Paul


_______________________________________________
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