[Zope] objectItems() question

bak (kedai) kedai@kedai.com.my
Sun, 15 Apr 2001 12:20:34 +0800


On Monday 16 April 2001 11:21, Ben.Peter@t-online.de wrote:
> Hello all,
>
> I am utterly confused:
>
> The following piece of dtml in standard_html_header
>
> <dtml-in "objectItems()">
>  <a href="<dtml-var absolute_url>"><dtml-var title></a>
>  <dtml-unless sequence-end><br>
>  </dtml-unless>
> <dtml-else>No items.
> </dtml-in>
>
> will yield a complete list of objects in the current container if there is
> a DTML Method 'index_html' available. If that is not the case, it will
> print 'No items.', even if there is a DTML Document index_html and any
> number of other Items, like folders.

it may be the fact that DTML Document has its own namespace.

i may be wrong though