[Zope] Properties in a ZClass
Casey Duncan
c.duncan@nlada.org
Thu, 18 Oct 2001 14:50:02 -0400
On Thursday 18 October 2001 02:25 pm, Behrens Matt - Grand Rapids allegedly
wrote:
> Casey Duncan wrote:
> >
> > That depends. Do you want users to be able to add properties to the
> > instances or to the entire class?
>
> I'm interested in this, even if Lars isn't... to the instances.
Actually that's the eaiser of the two. Just make your ZClass subclass
something with a property sheet (such as File, Folder or DTML Document), and
then you can use the standard calls such as: manage_addProperty,
manage_changeProperties, etc. on the instances.
They will only affect the one instance they are called on and not the entire
class itself.
hth,
/---------------------------------------------------\
Casey Duncan, Sr. Web Developer
National Legal Aid and Defender Association
c.duncan@nlada.org
\---------------------------------------------------/