[ZDP] Re: [Zope-dev] FAQ Submission
Thu, 4 Mar 1999 12:32:12 -0500 (EST)
On Thu, 4 Mar 1999, Michel Pelletier wrote:
> When your debugging your DTML, it's a pain to keep deleting and creating
> new instances of your object in order to load the new dtml files off of
> the disk. This function comes in handy:
> def refresh_docs(self, REQUEST):
> """ refresh documents from disk (for debug purposes) """
> for id,title in self.defaultDocs:
> self.defaultDocFile(id, title, id)
> return self.manage_main(self, REQUEST)
I think Skip provided a better way to deal with this, but I am not sure if
it has made it in the official DocumentTemplate release.