On Dec 3, 2008, at 2:40 PM, Bob Sysero llc Dev wrote:

>   In the ui folder I created my myCalc.cdxml using the class designer
> and create a panel with two vertical sizers.  The top sizer I selected
> "Add controls from data environment" and found the FIRST PROBLEM.   
> When
> it asked for where my myCalcCon.cnxml was located I was able to able  
> to
> go into my db folder to selected.  When I selected and press next I  
> got
> an error that it could not connect.  After looking at the
> myCalcCon.cnxml database defined it showed:
>
>   <database>myCalcDB.sqlite</database>
>
> I replaced it with the following in my myCalcCon.cnxml and it now  
> works.
>
>   <database>../db/myCalcDB.sqlite</database>


        That's an unfortunate but known issue. Paths are relative from the  
folder you were in when running the CxnEditor, as Dabo doesn't have a  
true project manager yet. Glad you figured out a fix.

>   The next thing I did was selected all the fields in the customer
> table then order them by id, valid and name then select Grid for  
> Layout
> section.  The last thing was when it ask if I wanted to create the
> business object I answered yes. The Grid showed up on the top panel.
>
> Second Problem:   -----------------------------------
>
>   When I try to run the form I get the error:
>
> Attribute Error: 'NoneType' object has no attribute 'CustomerBizobj'

        This is because the references are loaded into the app's namespace  
when the app starts up. In this case, the app is the Class Designer,  
and when you started there was no classes in the biz directory. Once  
you quit the CD and restart it, it should find the CustomerBizobj class.


-- Ed Leafe





_______________________________________________
Post Messages to: Dabo-users@leafe.com
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