[Zope] Help! Why doesn't this work...

Oscar Picasso picasso@videotron.ca
Thu, 14 Oct 1999 16:38:04 -0400


Try this:
<dtml-in "objectValues(['DTML Document'])">
  <dtml-var id>
</dtml-in>

I think it should work. I don't know what is the problem with
"_['sequence-item'].id".

At 13:47 99-10-14 -0500, David C. Morrill wrote:
>All I want to do is create a list of DTML Documents in a Folder that have a
>certain property defined.
>
>However, every variant I've tried of the following simple code causes an
>"Infinite recursion in document template" error:
>
><dtml-in "PARENTS[0].objectValues(['DTML Document'])">
>  <dtml-var "_['sequence-item'].id">
></dtml-in>
>
>It seems to be caused by the reference to 'sequence-item', but for the life
>of me I can't figure out why this should cause a problem. Anyone have any
>ideas?
>
>Dave Morrill
>


******************************************************
Oscar Picasso
picasso@videotron.ca
******************************************************