Help: Return and render an object (DTML doc or method) from python script.
30 May
2001
30 May
'01
3:02 p.m.
Hi, My project uses inclusion of objects (DTML doc or methods) which relative path is computed by a python script. <calling script> ... <dtml-var "myscript(argument)"> ... </calling 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 ? TIA --Gilles
9077
Age (days ago)
9077
Last active (days ago)
0 comments
1 participants
participants (1)
-
Gilles Lenfant