[Zope3-Users] Computed default in zope schema
Piotr Chamera
piotr_chamera at poczta.onet.pl
Fri Oct 12 06:21:02 EDT 2007
Hi,
I am new in zope (3.3) and schema and cant find how to calculate default
value for readonly schema field. I want to set current date as default
date for field (and show this in schema) - in schema I can set
"default = datetime.now()" but it evaluates once at zope startup, I need
it evaluated at attribute access time. How to do it?
Piotr Chamera
More information about the Zope3-users
mailing list