[Zope] File objects
Dennis Allison
allison@sumeru.stanford.EDU
Sat, 1 Jun 2002 08:09:05 -0700 (PDT)
Are you sure there objects of type 'File' in the folder? A 'File'
is a specific meta-type and is differentiated from 'Folder,,
'Document', and so forth.
You might remove the filter (the 'Files' parameter to objectValues)
and see what you get...
On Sat, 1 Jun 2002 mediaweb@linfe.it wrote:
> Sorry my naive question, i am a zope newbie.
>
> According to the zope manual, i should get a file list
> of the current folder, using the dtml method:
>
> <dtml-var standard_html_header>
> <h2><dtml-var title_or_id> <dtml-var document_title></h2>
> <ul>Files
> <dtml-in expr="objectValues('File')">
> <li><dtml-var id></li>
> </dtml-in>
> </ul>
> </p>
> <dtml-var standard_html_footer>
>
> but i get a blank page, header and footer only are displayed,
> even though there are files in folder
> (a page refresh has been done, to be safe)
>
> I am using Zope 2.5.1
>