[Zope] Setting the "selected" attribute in zpt

Peter Bengtsson mail@peterbe.com
Thu, 30 Jan 2003 19:53:32 +0000


>
>The rendered source looks like this:
>
><select name="language" class="selector">
>     <option value="dk">dk</option>
>     <option value="uk" selected="selected">uk</option>
></select>
>
>This  (selected="selected") doesn't work in the browsers.
>
>Can anyone see what I am doing wrong?

Which browsers does it not work in?
I'm using the exact same TAL syntax and get the same output. But none of 
the following browsers have complain:
Opera6, windows
Opera7, windows
Phoenix, windows
IE6, unix :)

I've read that too that this _should_ be ok, but concerned now that you say 
that some browsers have problems with it.

Peter