[Zope] ZClass wierdness

Kevin Dangoor kid@kendermedia.com
Tue, 12 Oct 1999 13:35:40 -0400


While I'll never rule out the possibility that I'm doing something wrong,
every time I've tried just "manage_changeProperties" for ZClass instance,
nothing happens. When I do "propertysheets.Whatever.manage_changePropertes"
it works just fine...

So, AFAIK, yes. That's the way to go for changing properties on a ZClass
instance.

Kevin

-----Original Message-----
From: Cayce Ullman <c_ullman@yahoo.com>
To: Kevin Dangoor <kid@kendermedia.com>; zope@zope.org <zope@zope.org>
Date: Tuesday, October 12, 1999 1:38 PM
Subject: Re: [Zope] ZClass wierdness


>
>Is this true of ZClass instances as well?
>
>Thanks,
>Cayce
>
>>
>> To use manage_changeProperties with a ZClass, you
>> need to call the method on
>> the propertysheet itself... like:
>> <dtml-call
>>
>"propertysheets.properties.manage_changeProperties({'Drafted'
>> :
>> _.getattr(AllPlayers,'draft_round')})">