26 Feb
2002
26 Feb
'02
8:06 p.m.
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