A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/Acquisition.stx#2-13
---------------
Save it and then use the DTML Method "View" tab to see the result
of the DTML method in your Workspace frame. You will see
something not unlike the following::
I am being called from within the Zope Folder!
% Anonymous User - Dec. 19, 2003 10:41 am:
<dtml-var id> results in "I am being called from within the Folder!".
<dtml-var title> results in "I am being called from within the Zope Folder!".
% sabaini - Jan. 5, 2004 1:26 pm:
This should be <dtml-var document_id>. The problem with the above is of course that the Zope root doesn't
have an id.
% Anonymous User - Jan. 5, 2004 1:58 pm:
The problem appears (to me) to be that Zope's root folder *does* have an "id" property -- at least, I get an
"Invalid or duplicate property id" error when I try to add an "id" property to the root folder -- and the
value of the "id" property is "" (nothing).
Changing the example code to return <dtml-var title> makes the documentation consistent.
_______________________________________________
ZDP maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zdp
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.