[Zope] Changing ZClass Property Values

Edward Pollard pollej@uleth.ca
Wed, 04 Dec 2002 13:02:56 -0700


Hi All,

I've created a ZClass with some properties. Hooray for me.

How can I change these values programatically? The only example I've
ever seen of manage_changeProperties in within a method of the
propertysheet as such:

propertysheets.myPropertySheet.manage_changeProperties(REQUEST)

I'd like to be able in python to do something like this

here.myObject.setProperty1(myValue)

I'm not entirely sure how to do this, although I anticipate I might need
to wrap this through a few levels, eg. a method on the object talking to
a method on the properysheet.

And, like always, documentation is nonexistent. If it isn't nonexistent,
please direct me to where I could find the resources to solve this
quandry.

Thanks in advance,

Ed