[Zope] unauthorized tal repeat by class method

Dieter Maurer dieter at handshake.de
Tue Sep 16 14:43:42 EDT 2003


Bernd Dorn wrote at 2003-9-16 11:47 +0200:
 > ...
 > i pass an instance of a none-zopish class to a page template as keyword.
 > 
 > in the page template i can access the instance, but cannot invoke a 
 > method on it which returns me a sequence of other classes

You know about security declarations (you need them!).
Please read the Zope Developper Guide.

When something is not declared public, the corresponding class
must also derive from "Acquisition.{Im|Ex}plicit" and
the instance must be acquisition wrapped.


Dieter



More information about the Zope mailing list