[Zope] Selection property

Drew Nichols drew@mena.org.au
Thu, 15 Aug 2002 17:02:07 +1000


I am a newbie trying to set up a selection property with a python script.

I call
folder_obj.manage_addProperty ( 'prop_name', 'VALUE', 'selection', 
**but how do i add the list** )

and also try
folder_obj.manage_addProperty ( 'prop_name', list_here, 'selection', 
'select_variable=one_of_the_list' )


I have a list in my python script. Should i reference the list from a 
zope path.

Drew