[Zope] objects not updated after restart of Zope
Michal Bencur
zope@benko.sk
Mon, 13 May 2002 16:49:27 +0200
I can create instances of my product, I can change the properties
of existing instances, but when I restart Zope all these changes
are gone.
I inherit from all these:
class MyProduct(PropertyManager,
RoleManager,
Item,
Implicit,
FindSupport):
"""..."""
On Mon, May 13, 2002 at 09:39:46AM -0500, John Hunter wrote:
>
> You need to either derive from Globals.Persistent or some class that
> does this for you, like OFS.SimpleItem, which will give you most of
> the stock behaviors that you desire for, well, simple items.
>
> You may want to check out the maxm product tutorials:
>
> http://www.zope.org/Members/maxm/HowTo/minimal_01
> http://www.zope.org/Members/maxm/HowTo/minimal_02
>
> Cheers,
> John Hunter
>
>
> _______________________________________________
> 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 )