[Zope] [Fwd: [Zope] How to get the DTML code from a document/method?]
LEE, Kwan Soo
kslee@plaza1.snu.ac.kr
Thu, 08 Apr 1999 21:55:38 +0900
Uhk... I am forwarding my own mail. :-(. ...
"LEE, Kwan Soo" wrote:
> Rob Page wrote:
>
> >
> > What about http://server.org/dtml_source?path=/index_html
> >
>
> Well, I guess the problem lies not there. I had similar problem as Tony
> did.
> But when I changed from the Rob's code
>
> Python source --> if not id in self.documentIds():
>
> into
>
> Python source --> if not id in self.objectIds():
>
> IT WORKED without any error message.
>
> Now I vaguely remember that Paul mentioned <!--#var documentIds-->
> which is equivalent to <!--#var objectIds['DTMLmethods', 'DTMLdocuments',
> ...]-->
> (the expressions are definately incorrect. they from human memory)
> but could not find "def documentIds(..." string in lib/python/OFS tree in
> my Zope 1.10.2 windows distribution.
>
> Where is "def documentIds(..." ?
>
> With many thanks. Kwan Soo.