+-------[ Roman Klesel ]---------------------- | Lennart Regebro schrieb: | > It's usually called "self"... |
I missed the start of this thread... | hmmm ... strange ... | | in a class: | | | class Controller(Implicit,ObjectManager, SimpleItem): | """asfd""" | | I have a method: | | def testspace(self,REQUEST=None): | """tests""" | req = self.absolute_url(self) | return req self.absolute_url() You shouldn't need to pass self in. | and on whatever URL I call it , it returns the base URL of the product instance ... | | All classes in the product subclass form Acquisition.Implicit. What am I missing here? | | Thanks so far! Is it set inside the ZODB yet? -- Andrew Milton [EMAIL PROTECTED] _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )