PropertySheet, selection, and values ...
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="xxx">BLABLA 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élio Conort celio@opixido.com Opixido 9 cité Paradis 75010 Paris www.opixido.com Tel : 01 40 22 92 46 ou 47 Fax : 01 40 22 92 44
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
participants (2)
-
Dieter Maurer -
Gavroche Le Gnou