Richard Esplin wrote:
> During my playing around I had two questions:
> 1. The first time the form opens, I'm getting this error:
> File "/home/richard/Desktop/dabo/dabo/db/dCursorMixin.py", line 844, in 
> getFieldVal
> dabo.dException.FieldNotFoundException: Field '<built-in function id>' does 
> not exist in the data set
> 
> Any ideas about the <build-in function id> not existing?

id() is a built-in python function. Search your bizobjs for 'id' where 
it isn't surrounded by quotes (" or ').


> 2. While playing around I commented all of the addField statements in my 
> BizObj, yet my form still has data when the application is run. The 
> application won't run when I comment out the DataSource, so I'm pretty sure 
> my bizObj is getting referenced correctly. How does the UI get data if it 
> doesn't come through the bizObj?

It issues "select * from (datasource)".

> I thought 3-tier meant that the UI and the Database couldn't talk at all. Is 
> the framework MVC style where the View can get data directly from the Model 
> but must write through the Controller?

UI talks to biz, biz talks to db. The UI gets all data from the biz, the 
biz gets all data from the db.

Paul


_______________________________________________
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