[Zope] A strange difference between DTMLDocument versus DTMLMethod Zope 2.2.2

cuiod-tec Jens Gelhaar jeg@cuiod-tec.de
Wed, 20 Sep 2000 17:40:24 +0200


The following few lines have a different result, when I execute it within an
DTMLDocument or DTMLMethod.

<dtml-var standard_html_header>
<dtml-in "objectItems('Folder')">
  <dtml-var title_or_id>
</dtml-in>
<dtml-var standard_html_footer>

The DTMLMethod result looks like it should be, but within a DTMLDocument the
result is empty. When I modify the <dtml-in> tag slightly, then it works to

<dtml-in "PARENTS[-1].objectItems('Folder')">

I does not seem to me consistent. Is it a new feature or bug. Beside, when I
call the DTMLMethod from another Document, the result is empty to.


Thanks Jens