2 Oct
2003
2 Oct
'03
10:43 p.m.
Michael Bleijerveld wrote at 2003-10-2 16:26 +0200:
In the following DTML document I am trying to give the parameter 'dtml-sequence-item''to the setDirectory python script. This parameter doesn't return the right value. Instead it returns '<&dtml-sequence-item>'.
What have I done wrong ?
<dtml-in "admin.objectIds('Local Directory')"> <img src="/misc_/OFSP/Folder_icon.gif"> <a href=<dtml-var expr="setDirectory('<&dtml-sequence-item>')">> <dtml-var sequence-item></a> <br> </dtml-in>
Do not nest "dtml" constructs such as "&dtml-XXX;" inside "dtml-var". Read the Zope Book about the "prefix" attribute to "dtml-in". Dieter