[Product-Developers] subclass ATWorkgroup

Andreas Jung lists at zopyx.com
Thu Jun 18 15:48:20 UTC 2009

On Thu, Jun 18, 2009 at 17:44, cswank <craig_swank at nrel.gov> wrote:

> When I try:
> ATWorkgroup.__init__(self,*args,**kw)
> in my __init__ I get:
> TypeError: unbound method __init__() must be called with ATWorkgroup
> instance as first argument (got Vendor instance instead).
> And when I try not defining an __init__ method then I can initialize my
> class, but the ATWorkgroup tabs (such as Add Members and Workgroup Roles)
> do
> not appear.  So I guess I'm still stuck.

No idea what you are trying to do within __init__(). If you need to perform
create operations, use the at_post_create_script() hook.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20090618/26e67542/attachment.html>

More information about the Product-Developers mailing list