[Zope] Persistent dictionaries with Zope?
Max M
maxmcorp@worldonline.dk
Tue, 6 Feb 2001 11:08:39 +0100
A Python Script would do nicely.
return {'key1':'val1','key2':'val2'}
regards Max M
Max M. W. Rasmussen, Denmark. New Media Director
private: maxmcorp@worldonline.dk work: maxm@normik.dk
-----------------------------------------------------
Shipping software is an unnatural act
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
Tristan Roddis
What is the best way to create dictionaries (i.e. name-value pairs) that
can be accessed from Zope objects. E.g. I want to store a dictionary in
one place that can be accessed from other objects to e.g. provide select
lists of the form:
<option name="[dictionary name]">[dictionary value]</option>
I had a look at assigning properties to objects but nothing seemed to
help. Otherwise the only thing I could think of was installing products
such as PersistentListDict or TinyTable but is this overkill?
Thanks,
-Tristan.
tristan@roddis.org http://www.roddis.org
_______________________________.oOo._________________________________
"Word Up." http://www.wordvault.org
_______________________________________________
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 )