This works for selection for me but when I try multiple selection (having given a lines variable as the name) I get a key error, however since the key is displayed only in the contents I can't see what key the error is referencing as Netscrape actually *reloads* the page to do a "view source". Josh At 4:38 PM -0400 8/19/99, Kevin Dangoor wrote:
-----Original Message----- From: Luc Stepniewski <lstep@mail.dotcom.fr> To: zope@zope.org <zope@zope.org> Date: Thursday, August 19, 1999 4:01 PM Subject: [Zope] Really stupid question
I couldn't find anywhere (online documentation & mail archives) any information on the format that should be used to enter 'selection' and 'multiple selection' properties while creating a new property :-(
I tried ['foo', 'bar'], but I get a "No value for ['foo', 'bar']".
This doesn't sound like a stupid question to me :)
These properties are expecting the *name* of another property that actually contains the choices. This would either be a Tokens or Lines property...
Kevin
# # # _____________________________________________ Joshua Brauer Box 915 http://www.brauer.org Fort Collins, CO 80522 Fax: (419) 793-4120 _____________________________________________ In flying I have learned that carelessness and overconfidence are usually far more dangerous than deliberately accepted risks. -- Wilbur Wright in a letter to his father, September 1900 _____________________________________________________