[Zope-CMF] access container in factory method

Mark McEahern mark@mceahern.com
Mon, 27 Jan 2003 15:21:36 -0600


I have a portal type and in the factory method I want to access the
container.  How do I do that?  It's not just naively self--that's the
factory dispatcher.

E.g.,

def addFoo(self, id):
    container = ... ? ...

Thanks,

// mark