Użytkownik Dewald Jacobs napisał:
> vervangingsverseBizobj =
> self.Application.biz.VervangingsverseBizobj(self.Co
> nnection)
> AttributeError: 'NoneType' object has no attribute 'VervangingsverseBizobj'
As a rule of thumb, you must remember, if you want use application
attribute reference to internal modules: biz, ui, etc.,
instead of Python namespace, you must ensure correct references.
Your application startup script, verse.py must have:
app = App(...)
import biz
app.biz = biz
import ui
app.ui = ui
and biz and ui must of course be a valid python packages.
Second, to refer bizobj classes that way, they must be imported
into biz package namespace, biz/__init__.py:
from VervangingsverseBizobj import VervangingsverseBizobj
If these conditions are meet, it _must_ be working.
--
Regards
Jacek Kałucki
_______________________________________________
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]