[Zope] Newbie problem
Andy McKay
andy@agmweb.ca
Mon, 7 Oct 2002 09:39:45 -0700
Change the DTML Document to a DTML Method.
--
Andy McKay
www.agmweb.ca
----- Original Message -----
From: "Alexis Roda" <arv@si.urv.es>
To: <zope@zope.org>
Sent: Monday, October 07, 2002 8:44 AM
Subject: [Zope] Newbie problem
> Hello all,
> I'm learning Zope and I have a problem. I have tried the following
> example from "Iterating over Folder Contents", Chapter 4 of the Zope
> Book:
>
> <dtml-var standard_html_header>
> <ul>
> <dtml-in expr="objectValues('File')">
> <li><a href="&dtml-absolute_url;"><dtml-var title_or_id></a></li>
> </dtml-in>
> </ul>
> <dtml-var standard_html_footer>
>
> The folder where this DTML document resides contains some files and
> folders, but when I run it, it doesn't show anything. It seems like
> objectValues is an empty list.
>
> My understanding of zope is still very limited, but I think this should
> work. What am I missing?
>
> I have tested with zope 2.5.1 for windows and linux (debian woody) with
> the same result.
>
>
> Any help will be apreciated.
> Thanks in advance
> --
> ////
> (@ @)
> ---------------------------oOO----(_)----OOo------------------------
> Los pecados de los tres mundos desapareceran conmigo.
> Alexis Roda - Universitat Rovira i Virgili - Reus, Tarragona (Spain)
> --------------------------------------------------------------------
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>