Andre Schubert writes:
> I have written a Product ....
> and now i want
> to use a Zope DatabaseConnection added to the same folder.
Unless you are in a constructor, your product's "self"
has an acquisition context.
It usually contains the folder containing your product instance.
Therefore, if "DC" is the name of your database connection,
you can access it by "self.DC" or "getattr(self,'DC')".
Dieter
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )