[Zope-dev] persistence and lists
Arndt Droullier
ad@dvelectric.com
Wed, 18 Sep 2002 21:27:09 +0200
Hello,
I´m working on a product which contains custom data in a list of multiple
dictionaries.
How can I save the list/dictionaries after changes? Persistence is enabled
(and works for other types), and "_p_changed" is set, also
get_transaction().commit() is called.
A second problem is that multiple instances of the product reference the
same list. So if I change the list of one of the instances the other
changes,
too.
The list and dictionaries are stored in a class variable(in the product)
and not global.
Thanks, Arndt.
_______________________________________________________________________
DV electric ad@dvelectric.com http://www.dvelectric.com
Fon 0221/2725782 Fax 0221/2725783 Burgmauer 20, 50667 Köln
_______________________________________________________________________