[Zope] Selection Property

Roch'e Compaan roche@ybm.co.za
Thu, 28 Sep 2000 15:58:17 +0200


I have a property sheet with a selection property "band" with value
"bandlist".

I created an instance of the class in a Zope folder and created the bandlist
method in the same folder.  When I go to the property sheet of the instance
the selection is not populated.

My bandlist method looks like this:

<dtml-call "REQUEST.set('bndlist',[])">
<dtml-in "objectItems('Band')">
  <dtml-call "bndlist.append(name)">
</dtml-in>
<dtml-return bndlist>

If I view the method it returns the list eg: ['item1','item2','item3'].

What can be wrong?

Roché