[Zope-CMF] Accessing methods of ZClass based portal content.

Gilles Lenfant gilles@objectis.net
Mon, 11 Feb 2002 23:33:40 +0100


Very sorry Dieter and thanks for the hint.

My dtml was in a loop in portal_catalog so I got "pluggable brains" like
objects, not real objects.
When using this in the loop, it works (of course):

<dtml-with getObject>
<dtml-var anymethod>
</dtml-with>

I apologize again (me stupid Zopist)

--Gilles

----- Original Message -----
From: "Dieter Maurer" <dieter@handshake.de>
To: "Gilles Lenfant" <gilles@objectis.net>
Cc: <zope-cmf@zope.org>
Sent: Monday, February 11, 2002 8:57 PM
Subject: Re: [Zope-CMF] Accessing methods of ZClass based portal content.


> Gilles Lenfant writes:
>  > I checked the permission mapping that seems correct.
>  > The View permission enables this method.
>  > I got the same error whatever's the role of the user.
>  >
>  > It seems that the ZClass based CMF content objects do not support
>  > inheritance.
>  > Except for the methods that are mapped to actions in the CMF type tool
!!!
> I tried to reproduce your problem, but failed:
>
>   I have been able to create a ZClass and use it as a factory based
>   new content type for the CMF. Calling its methods was not a problem,
>   neither the one defined as actions nor the other ones.
>
>
> Dieter
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
requests
>