[Zope] PropertySheet, selection, and values ...

Gavroche Le Gnou gavrochelegnou@free.fr
Wed, 11 Sep 2002 15:55:10 +0200


Hello !

I'm having a problem with the "selection" type in a PropertySheet of a
zClass
i'd like the selection  to do something like : <option value=3D"xxx">BLAB=
LA
YYY</option>
but i can't make it work
it keeps writing : <option>BLABLA YYY</option>

the value is returned by a script, and i tried to return a dictionari
instead of a list but it doesn't work (keyError : 0) ...
is there any solution ?

Thanks a lot !

C=E9lio Conort
celio@opixido.com

Opixido
9 cit=E9 Paradis
75010 Paris
www.opixido.com
Tel : 01 40 22 92 46 ou 47
Fax : 01 40 22 92 44