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')".


Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to