[Zope] title and id properties in DTML methods
Martijn Faassen
M.Faassen@vet.uu.nl
Wed, 10 Mar 1999 18:08:28 +0100
Hi everybody,
I'm probably completely confused, but if I understood it right, DTML
Methods in Zope 1.10 are the same as Documents in Zope 1.9. I may
remember wrongly, but wasn't it so that
<!--#var title_or_id-->
<!--#var title-->
<!--#var title-->
in 1.9 documents rendered the title and id of the actual document, and
not that of the containing folder? In 1.10 in DTML methods, they appear
to render the containing folder, instead. The only way I can access
title of a DTML method in 1.10, is by referring to it specifically, i.e.
<!--#var "some_method_id.title"-->.
It works as expected with DTML Documents.
Is this as it should be? Am I correct about the 1.9 behavior? If so,
then DTML Methods don't seem to be exactly equivalent to 1.9 Documents,
and this should probably be in the FAQ. :)
Regards,
Martijn