On Jul 12, 2009, at 4:19 PM, Carey Gagnon wrote:

> So even a static (for lack of a better phrase) drop down needs to be  
> bound
> to the bizobj in order to be wrtten to the database on save?

        Yes. A control is just a dumb UI object. However, you can enable data  
binding by setting two properties: DataSource and DataField. These  
determine the object and property, respectively, that the control is  
bound to. In the most typical case, 'DataSource' is the same as the  
bizobj's DataSource (the form will figure this out at run time), and  
'DataField' is the column in the data that the control's Value should  
be bound to. Just by setting those two properties you transform a dumb  
UI control into a powerful data display/editing tool.


-- Ed Leafe





_______________________________________________
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]

Reply via email to