[Zope] Help: Return and render an object (DTML doc or method) from python script.
Wed, 30 May 2001 17:02:36 +0200
My project uses inclusion of objects (DTML doc or methods) which relative
path is computed by a python script.
The python script "myscript" computes the relative path of the DTML object
to include (no problem till there)
The problem is : how to have this target DTML document/method rendered in
place of the <dtml-var "myscript(argument)"> ?
In python, the (supposed) classical "return contex.getitem(path)" raises an
AttributeError (no "getitem" attribute)
Any hint for this ?