[Zope] Using DTML or Python in ZClass Properties?

Dieter Maurer dieter@handshake.de
Fri, 8 Mar 2002 21:14:47 +0100


Dan Shafer writes:
 > I have a ZClass with a property that is a date. I would like that 
 > property's value to contain the current date as a default, subject to 
 > user override.
This is not possible (as you found out).

The next thing you can come at it to set the date in your
Z instance constructor. Of course, it is then fixed at instance
creation time.


Dieter