[Zope] How come you can't add a multiple selection property in a python script?

Dieter Maurer dieter@handshake.de
Mon, 11 Feb 2002 21:05:23 +0100


complaw@hal-pc.org writes:
 > How come this...
 > 
 > doc.manage_addProperty('specific_topics', specific_topics, 'multiple_selection',
 > select_variable=context.list_of_selections)
 > 
 > .. won't work (it generates an error) when you try it from a python script. 
You pass in the *name* of the select variable, not the select variable
itself...


Dieter