On 9/20/05, Alec Munro <[EMAIL PROTECTED]> wrote: > I have a content component that has a property that is a dictionary, > the keys of which are objects (content components themselves). The > values are lists of strings. I've tried implementing this a couple > different ways, but each time I restart, the dictionary comes up > empty.
You need to use a PersistentDictionary. Ordinary dictionaries do not detect that they have changed, and so do not get written to the ZODB. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/ _______________________________________________ Zope3-users mailing list [email protected] http://mail.zope.org/mailman/listinfo/zope3-users
