[Zope] Selection properties - how?

Ethan Fremen mindlace@majordomo.net
Tue, 19 Oct 1999 00:38:44 +0100


Itamar wrote:
> 
> I want to add a Selection property to an object.  What format to I write
> the multiple values in - I must be doing something wrong, cause every
> time I try to make a selection property I get the following error:

>     (Object: _.has_key(select_variable))
>   File <string>, line 0, in ?
> NameError: (see above)

I think you have to say name="somename:list" so that even if only one
value is selected it makes the passed ... item a dictionary (or hash if
you're used to perl).

-- 
     mindlace
                  Disclaimer: Any use of this email, in any manner
whatsoever, will increase the amount of disorder in the universe. 
Although no liability is implied herein, the reader is warned that 
this process will ultimately lead to the heat death of the universe.