On Dec 24, 2007, at 1:50 PM, Adrian Klaver wrote:

>>      No, that is simply wrong. You are mixing the UI DataSource with the
>> bizobj DataSource. Bizobjs do not have update(); that is for data-
>> bound UI controls. Likewise, UI controls don't have save() or  
>> requery().
>
> I beg to differ.
>
>> From the api doc for dForm
>
> save(self, dataSource=None)
>
> Ask the bizobj to commit its changes to the backend.

        A form is not a "control". Forms do not have DataSource or DataField  
properties.

        In the 3-tier design, the form is the sole interface between the UI  
and the bizobj tiers.

> You are making my point about confusion over the name DataSource.  
> It refers to
> different things in different contexts. I am just trying to figure  
> out when
> that context changes.

        In both cases (controls and bizobjs) it refers to the "source" of  
its "data". Bizobj get their data from the table, while controls  
(typically) get their data from the bizobj. In both cases it means  
exactly the same thing; because they are in different tiers, though,  
their sources are necessarily different.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
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/dabo-users/[EMAIL PROTECTED]

Reply via email to