[Zope] ZFSPath newby problem
frasse
frasseff at netscape.net
Sun Apr 11 09:12:07 EDT 2004
Hi
I try to run ZFSPath example
http://zope.org/Members/asterisk/ZFSPath
but it is telling me "This resource may be trying to reference a
nonexistent object or variable 'listdir'."
I did following steps
1) Create a ZFSPath object in my folder
2) name ID as darkforest
3) In ZFSPath Properties
<http://dipserver:8080/fileshare/darkforest/manage_propertiesForm> I
put a path "/darkforest " and title "Share file system"
4) I try to run the following Zope Page Template (ZPT)
<html>
<head>
<title tal:content="template/title">file share </title>
</head>
<body>
<h2 tal:content="here/darkforest">path</h2>
<div tal:define="contents here/listdir">
<p><a href="..">..</a></p>
<p tal:repeat="element contents">
<a href="#" tal:content="element/darkforest"
tal:attributes="href element/darkforest">file</a>
</p>
</div>
</body>
</html>
any idea what is wrong ?
thx
Frasse
More information about the Zope
mailing list