[Zope] Simple: Update a ZClass property via Python Script
Mon, 10 Mar 2003 00:25:06 +0100
Jeremy Cowgar wrote at 2003-3-8 00:15 -0500:
> I have just finished the ZooExhibit product tutorial. It checks the property
> of a ZClass, last_meal_time to see if the animal is hungry. If so, I want to
> feed it (practice). So, I created a python script with a link to it inside
> the <dtml-if isHungry> area, and in it I have:
> manage_changeProperties(last_meal_time, '2002-01-01')
ZClass properties usually live in a property sheet.
You must call the "manage_changeProperties" of the corresponding
I forgot how to access the property sheet. I think it was
Search the archives, to find out precisely....