[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Acquisition
webmaster at zope.org
webmaster at zope.org
Mon Jan 5 13:58:19 EST 2004
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.
More information about the ZDP
mailing list