[Zope] ZClasses and "title" property

Loren Stafford lstafford@morphics.com
Fri, 19 Jan 2001 15:28:29 -0800


"title" is a "reserved" property; i.e. most objects automatically get a
title property when you create them, but you are trying to add another
property with the same name. Either use the "built-in" title property or use
a different id for your title.

-- Loren

-----Original Message-----
From: tmoore@challah.msrl.com [mailto:tmoore@challah.msrl.com]On Behalf
Of Tim Moore
Sent: Friday, January 19, 2001 14:59
To: zope@zope.org
Subject: [Zope] ZClasses and "title" property


Let me start by introducing myself...My name is Tim Moore and I'm new
to the list and Zope in general.  I'm still figuring out how
everything works, so forgive me if I'm missing something basic here
:-)

I'm creating several ZClasses for the site I'm working on.  In one of
them I'd like to have a property called "title", but when I try to add
it, I get the following error:

Error Type: Bad Request
Error Value: The id "title" is invalid--it is already in use.

I'm confused, because this seems to happen even when I make a
bare-bones minimal class, but a few of the examples I've found on the
web site have ZClasses with title properties.

I'm using version 2.3b1...is this a recent change in behavior or am I
doing something wrong?  If this is a change, does this mean I have to
use a different property name, or is there some other way I can edit
this title property?

thanks,
--
Tim Moore

_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )