Marcin Kasperski wrote:
> 
> What is the easiest way to force DTML Methods or documents in some
> directory to be automatically annotated with 'creation time' attribute?
> 
> I got the problem while developing simple website news page (implemented
> so the news are taken from dedicated subfolder and sorted via
> bobobase_modification_time reverse):
> - if I correct spelling in my news item, it gets 'modern' date
> - if I export from one zope instance and import into another one, all
> objects get the brand new bobobase_modification_time

I'd love to know how to do this in general in Zope too...

cheers,

Chris

PS: the only way I can think of right now is to subclass DTML
document/method and override the add method to take a copy of
bobobase_modification_time and stroe it in an attribute/property called
creation time.

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to