[Zope] <dtml-call expr="my_var='foo' "> fails

Dieter Maurer dieter@handshake.de
Mon, 21 Jan 2002 22:15:06 +0100


Thomas Guettler writes:
 > How can I set a attribute of  my object?
You use an API, based on methods, for this.

If your attribute is a property, you use the "PropertyManager"
or "PropertySheet" API (--> Zope integrated online help --> API reference).

If it is an attribute of one of your products, provide adequate methods.

If neither, use an External Method or XXXPythonScript.



Dieter