[Zope] Simple question (again)
Evan Simpson
evan@tokenexchange.com
Tue, 24 Aug 1999 14:50:59 -0500
As of Zope 2.0b4, at least, 'document_id' and 'document_title' are valid for
both Documents and Methods. Apart from that detail, I quite agree. I have
found Method titles to be mildly useful as a sort of brief description of
the method, though.
----- Original Message -----
From: Michel Pelletier <michel@digicool.com>
> 'document_id' and 'document_title' work only for DTML Methods. They are
> legacy attributes, from the days before DTML Documents; they are hacks.
>
> The problem here is not one of 'how do i get the id of a method'
> really, the question should be, '*why* would I *want* to get the id of a
> method'. if you want your DTML object to be able to see it's own
> properties, including it's id and title, then use a DTML Document.
>
> If you want to get the id or title of a Method, then you might be doing
> something wrong. Of course, I could be convinced otherwise. In fact I
> don't think method's should even have titles; but that will probably
> never go away because of backwards compatablility issues.