[Zope-dev] problem adding ZClass instances via DTML

Dieter Maurer dieter@handshake.de
Tue, 26 Feb 2002 21:06:06 +0100


Mark James Adams writes:
 > I'm following the instructions in "Adding ZClass Instances 
 > Programmatically" (http://www.zope.org/Members/tazzzzz/addZClasses), but 
 > Zope always returns an error.
 > 
 > Using the code from a DTMLMethod in another ZClass in the same product:
 > 
 > <dtml-with "manage_addProduct['MyProduct']">
 > <dtml-call "MyZClass_add(_.None, NoRedir=1)">
 > </dtml-with>
Where is the second positional argument for DTML objects?????

Please read "Calling DTML objects" in

  <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>

to avoid such errors in the future.


Dieter