30 May
2002
30 May
'02
7:42 p.m.
Greetz Not wanting to invent the wheel: ---NOT WORKING CODE--- <select> <span tal:omit-tag="" tal:repeat="item here/SelectBoxData"> <option tal:attributes="value item/value" tal:content="item/text"></option> <option selected tal:attributes="value item/value" tal:content="item/text"></option> </span> </select> ---NOT WORKING CODE--- When loading my template I want to choose the correct value from the select box. That is set the option SELECTED one of the options. Is there a smart implementation or do I have to make a tal:condition thing?? \Oliver