[Zope] Newbie Question

Jim Washington jwashin@vt.edu
Fri, 24 Nov 2000 08:22:43 -0500


Dany:


These should work:


<dtml-in objectIds>

<dtml-var "_['sequence-item']">

</dtml-in>

-or-


<dtml-in objectValues>

<dtml-var sequence-item>
 
</dtml-in>

-or-

<dtml-in objectValues>

<dtml-var some_attribute_of_the_sequence-item>
 
</dtml-in>


--Jim Washington

Dany Rioux wrote:
> 
> I'm probably just being dumb... :)
> 
> --------<PASTE>----------
> <dtml-var standard_html_header>
> 
> <p>
> <dtml-with News>
>  <dtml-in objectValues>
>  </dtml-in>
> </dtml-with>
> </p>
> 
> <dtml-var standard_html_footer>
> --------</PASTE>----------
> 
> This doesn't work. Nothing gets printed.
> 
> In the News folder is a DTML method called news999. Should it be a
> DTML document instead for this to work?
> 
> I tried the three methods you gave me. objectValues, "objectValues()"
> and "objectValues('[File]')" and even "objectValues('[news999]')" but
> empty everytime.
>