[Zope] Newbie problem

Alexis Roda arv@si.urv.es
Tue, 08 Oct 2002 16:45:32 +0200


Andy McKay wrote:
> 
> Change the DTML Document to a DTML Method.

Many thanks, it does work now.

There's a thing I still can't understand. I have the following dtml
document (not method):

<dtml-var standard_html_header>
<ul>
<dtml-in expr="arees.objectValues('Folder')">
   <li><a href="&dtml-absolute_url;"><dtml-var title_or_id></a></li>
</dtml-in>
<dtml-var standard_html_footer>

This dtml document does work, it shows a list of folders inside the
folder named "arees". I can't see the difference with

<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>
<dtml-var standard_html_footer>

that does not work as dtml document.


Can someone enlight my ignorance?
Thanks in advance
-- 
                                  ////
                                 (@ @)
---------------------------oOO----(_)----OOo------------------------
        Los pecados de los tres mundos desapareceran conmigo.
Alexis Roda - Universitat Rovira i Virgili - Reus, Tarragona (Spain)
--------------------------------------------------------------------