[Zope] Value of id in sub-sub-DTML-Methods
Stefan Bund
asbund@gmx.de
14 Jun 1999 18:38:59 +0200
I have the following setup:
Folder at /Zope/DB:
standard_list DTML Method
list_bottom_left DTML Method
.
.
.
Folder at /Zope/DB/Address:
index_html DTML Document
list Z SQL Method
list_top_center DTML Method
.
.
.
Those objects have the following dependencies:
o standard_list defines the standard layout for the representation
of a (batched) list of SQL results. list, list_bottom_left and
list_top_center are some of the sub-documents referenced by
standard_list.
o /Zope/DB/Address/index_html references standard_list to display
the result of /Zope/DB/Address/list. So far so good.
When selecting the URL /Zope/DB/Address (or
/Zope/DB/Address/index_html), the value of the id DTML-Variable
behaves very strange (in my opinion):
o within the index_html Document it is 'index_html'. Good.
o Within standard_list it is 'index_html'. Also good.
o Within list_bottom_left and list_top_center it is
'Address'. What????
How do I find the name of the displayed page? I always thought id
should be the value?
By the way (I almost forgot), I'm using Zope 1.10.2
Is this a (known) Bug or have I understood something completely wrong?
Stefan.