On Mon, 4 Dec 2000, Willem Broekema wrote:
As a DTML method is said to work with the properties of the object it is called at:
DTML method "m": <dtml-var bobobase_modification_time>
<root folder of site>/m displays the date/time when the last change happened to any file in the root folder
This _is_ the folder's bobobase_modification_time you're getting. A folder is largely a container. Aside from creating or deleting it you can only change it by changing what it contains. Changing a folder's properties or deleting a file it contains also updates it's bbb_mod_time.
<root folder>/m/m displays last change date/time of method m
By calling m/m you've bound m as the client object for the method m. <dtml-var id> will give you m's id, <dtml-var title> will give you m's title. DTML Methods are designed to give you access to the attributes of the object they are called on.
Why does the method not display it's modification time on the first occasion? Or: why does it not give the folder's modification time on the second occasion?
If you make m a DTML Document it will give it's own bbb_mod_time no matter how you call it. Cheers, Chris