I have made a Python product in the filesystem, but by accident I must have deleted one of the dtml files. It still works as Zope has cached the dtml page. But does anybody know how I can get a view of the dtml source so that I can get a copy of it and save it as a file again. I have written the product ages ago and really don't want put too much effort into it again if I can avoid it ;-) regards Max m
At 09:35 08/04/02, you wrote:
But does anybody know how I can get a view of the dtml source so that I can get a copy of it and save it as a file again. I have written the product ages ago and really don't want put too much effort into it again if I can avoid it ;-)
regards Max
May be if you viewed somehow the dtml source of the method in your browser, you could have cached the source view... But I'm afraid you can't. What you should have cached is the HTML rendering of the method. At this point all the dtml information should be rendered and removed from the page that you receive... Sorry Gari _________________________________________________________ Aurki Euskara hutsezko bilatzailea http://www.aurki.com Zure laguntza behar dugu. Egin zaitez editore!
it might be possible that you can get at it just by adding /document_src to the method that brings up the dtml so if you would say x/myobject/myform just say x/myobject/myform/document_src Robert ----- Original Message ----- From: "Max M" <maxm@mxm.dk> To: <zope@zope.org> Sent: Monday, April 08, 2002 9:35 AM Subject: [Zope] Getting the dtml source from a product.
I have made a Python product in the filesystem, but by accident I must have deleted one of the dtml files. It still works as Zope has cached the dtml page.
But does anybody know how I can get a view of the dtml source so that I can get a copy of it and save it as a file again. I have written the product ages ago and really don't want put too much effort into it again if I can avoid it ;-)
regards Max m
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
Garikoitz Araolaza -
Max M -
Robert Rottermann