[Zope] converting to an object
Meilicke, Scott
scott.meilicke@intp.com
Mon, 22 Oct 2001 13:58:43 -0700
Hi,
I'm setting up a navigation system.
My path:
http:\\server\folder1\folder2\document
What is want is a listing of folders and topics contained in folder1.
My dtml:
<dtml-let nav3="_.string.split(URL0,'/')[3]">
<dtml-with nav3 only>
<dtml-in expr="objectValues(['Portal Folder', 'Portal Topic'])"
skip_unauthorized>
<p><dtml-var id>
</dtml-in>
</dtml-with>
</dtml-let>
However this gives me an error, 'objectValues' is not defined.
in REQUEST, nav3 is 'folder1', and what I want is just folder1, no quotes.
When I substitute folder1 for nav3, it works fine.
Any thoughts?
TIA - Scott