[Zope] Using DTML or Python in ZClass Properties?

Dan Shafer pydan@danshafer.com
Fri, 08 Mar 2002 15:02:53 -0800


Thanks. I was afraid of that. Seems like a bit of an oversight but I'll 
live with it.

Dieter Maurer wrote:

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