[Zope] How to get the DTML code from a document/method?

Rob Page rob.page@digicool.com
Thu, 8 Apr 1999 06:27:18 -0400


<SNIP>
> 
> (this was from trying /dtml_source?path=index_html but path='anything 
> else' gives the same error).

What about http://server.org/dtml_source?path=/index_html

The leading slash is significant by virtue of the split in the source.

> Is there a reason why there are two return statements in the external 
> method, when it seems that only the return doc.read_raw() is going to 
> be called?

Yeah -- because slacker Rob didn't read before clicking send.  Chris
Petrilli also noted this.  The second return in, um, optional.  :^)

--Rob