[prev in list] [next in list] [prev in thread] [next in thread]
List: zope
Subject: RE: [Zope] New class, no access to manage_propertiesForm etc.
From: "Winterflood, Jonathan" <jonathan.winterflood () capgemini ! com>
Date: 2007-06-27 15:10:54
Message-ID: 9E629A3098F91342B5DDF58BC066A1180D2A04 () CORPMAIL32 ! corp ! capgemini ! com
[Download RAW message or body]
OK thanks for the tips :)
I'll look at those pages
I think I'll use SimpleItem; All I need is a few methods, a couple of properties, and \
some management stuff.
Regards,
Jonathan
-----Message d'origine-----
De : zope-bounces@zope.org [mailto:zope-bounces@zope.org] De la part de Sascha Welter
Envoyé : mercredi 27 juin 2007 09:07
À : zope@zope.org
Objet : Re: [Zope] New class, no access to manage_propertiesForm etc.
(Tue, Jun 26, 2007 at 03:37:28PM +0200) Winterflood, Jonathan wrote/schrieb/egrapse:
> I have created a new class in my product, but I can't access the
> PropertyManager pages for it:
>
> import Persistence
> from OFS.PropertyManager import PropertyManager
> # Zope security infrastructure
> from Globals import InitializeClass
> from AccessControl import ClassSecurityInfo
> class MyClass(Persistence.Persistent,PropertyManager):
Please don't bother mixing together your own object classes from
scratch. The smart move is to build up your own objects either from
Folder, OrderedFolder, BTreeFolder2, or -- if it really should be
something simple that doesn't do much -- SimpleItem.
I would recommend having a look at
http://wiki.zope.org/zope2/DiskBasedProduct and (if I might say so) at
http://papakiteliatziar.gr/BetaBoring
Regards,
Sascha
This message contains information that may be privileged or confidential and is the \
property of the Capgemini Group. It is intended only for the person to whom it is \
addressed. If you are not the intended recipient, you are not authorized to read, \
print, retain, copy, disseminate, distribute, or use this message or any part \
thereof. If you receive this message in error, please notify the sender immediately \
and delete all copies of this message.
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic