30 Jun
2000
30 Jun
'00
9:26 p.m.
I have a file object (a text file) in my project that is displayed in a dtml document. Is there a way to make that object dynamic, i.e. when a user changes the file (in notepad, or something) and saves it, those changes are reflected next time the dtml document is loaded.
When I started the project I was operating under the assumption that a file object was a link to the object, not a static snapshot of it - silly me.
You can try the LocalFS product. This product reads a file from the file system and constructs a Zope object from it each time the object is requested. http://www.zope.org/Members/jfarr/Products/LocalFS/ --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998