[Zope] Property Sheet Question
James W. Howe
jwh@allencreek.com
Tue, 07 Mar 2000 14:43:53 -0500
I'm defining a property sheet for a new ZClass object. I want to define a
property which is collection of items (in my current case it's strings, but
conceptually it could be something else). When a new instance is created
(or edited), I want the user to be able to specify 0 or more items. Is
there a property type which supports this? What, for example, are "lists"
and "tokens" and how do you make use of them? In the particular case that
I'm working on, I want a user to be able to enter one or more e-mail
addresses and one or more urls. At some point I will want to iterate over
the e-mail addresses, or iterate over the urls when I construct a view for
this object.
Any tips or insights on this subject would be appreciated.
Thanks.
James W. Howe mailto:jwh@allencreek.com
Allen Creek Software, Inc. pgpkey: http://ic.net/~jwh/pgpkey.html
Ann Arbor, MI 48103