10 May
2001
10 May
'01
2:44 p.m.
That is a very good idea, only there seems to be no function where I could do so.. The properties of my product are accessed directly like <dtml-var "myProduct.property1"> so no function is executed. The getProperty is only executed when watching the property list. :(
what about using stat() on the file to check if it has changed and reread in that event? Make sure you reread only for the current access.
Yes. As I wrote, the product BASICALLY does this. Actually it reads the file, parses it and shows it's contents in the properties tab. When I write something like <dtml-var "myProduct.property1"> then I can access a part of the file.