[Zope] DTML parameter to Python script

Michael Bleijerveld michael at bleijerveld.nl
Thu Oct 2 10:26:38 EDT 2003


Hi,

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>

Regards.

Michael





More information about the Zope mailing list