8 Jan
2004
8 Jan
'04
7:24 p.m.
Mark Nenadov wrote at 2004-1-8 11:52 -0500:
I'm wondering how to go about doing the following in a Python script:
<dtml-call "YourZClass_add(_.None, _, NoRedir=1)">
My main problem is the fact that I'm not sure what _ would translate to in Python.
Provided that "YourZClass_add" is still a DTML object (I think, nowadays they are Python Scripts!), you can use: context.YourZClass_add(context, container.REQUEST, NoRedir=1) -- Dieter