Re: [Zope] Easiest way to possess 'creation_time' attribute?

2000-07-29 Thread Chris Withers

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 )




[Zope] Easiest way to possess 'creation_time' attribute?

2000-07-29 Thread Marcin Kasperski

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

Regards


--
Marcin.Kasperski | Users typically do not know exactly what they want   
  @softax.com.pl | and are unable to articulate all that they know. 
Marcin.Kasperski | (Parnas) 
@bigfoot.com |

___
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 )