[Zope] zclass add method -- how to get at properties?

Dieter Maurer dieter@handshake.de
Sat, 1 Sep 2001 22:40:04 +0200 (CEST)


Lee Harr writes:
 > Once I get an object (a DTML Method) how do I make it render
 > normally?
You apply the namespace's "render" method to it....

    <dtml-var "_.render(object)">

works for all kinds of objects (with the exception of a bug
that may raise an "AttributeError: __call__" exception).

If you know, your object is a DTML object, you can also
call it with two parameters, usually "_.None" and "_".


Dieter