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

Dieter Maurer dieter@handshake.de
Thu, 12 Sep 2002 23:17:40 +0200


Gavroche Le Gnou writes:
 > 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="xxx">BLABLA
 > YYY</option>
 > but i can't make it work
 > it keeps writing : <option>BLABLA YYY</option>
What you write is impossible:

  When you have "<option value="XXX">...</option>"
  is is impossible to get "<option>...</option>", unless the code above
  is not executed at all: the "value" attribute cannot be lost magically.

You must make some elementary error...


Dieter