johnf wrote:
> On Thursday 14 August 2008 08:35:51 am Paul McNett wrote:
>> 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
> 
> I have a second connection to a database that controls access to a FTP 
> server.  
> So after adding a new customer I need to insert a new record into the second 
> FTP access database (remote btw) to allow the new customer access to the FTP 
> server.  When I use the form save I get nothing (no errors, no record).  I'm 
> thinking that I have not updated the new record (FTP record) correctly.  
> Because nothing appears to happen.  At first I thought the bizobj was not 
> seen by Dabo but now I think it does see it.  I say that because "isChanged" 
> reports TRUE for the FTP bizobj.  But like I said nothing gets inserted and 
> the postgres reports no commit.  Hmm still working on it - because it should 
> work.

I'm still unclear whether the ftp bizobj's save() is ever being called. 
Is it?

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