Hi, I'm porting an intranet app from 1.0.7 to 1.0.8. I've got a problem with SelectOneMenu. Here is the code:

  <h:selectOneMenu id="cmbOre" value="#{mb.prenots.currentRow.ID_ORA}">
     <f:selectItems id="cmbOreI" value="#{mb.arrOre}"/>
  </h:selectOneMenu>

"arrOre" is an arrayList of SelectItems, filled by a function with values picked
from a table. The first <option> is ever a empty value, in order to let user to
left it empty.
"ID_ORA" is an integer value in HashMap "currentRow".


here is the code produced by 1.0.7:

<select name="corpo:_id4:cmbOre" size="1">
<option value=""></option>
<option value="1" selected="selected">13:00:00</option>
<option value="2">13:45:00</option>

and here the output of 1.0.8:

<select id="corpo:_id4:cmbOre" name="corpo:_id4:cmbOre" size="1">
<option value=""></option>
<option value="1">13:00:00</option>
<option value="2">13:45:00</option>
</select>


anybody does know why ?

thanks,


-- Francesco Consumi Ufficio Sistemi informativi Istituto degli Innocenti Piazza SS.Annunziata, 12 50122 Firenze consumi at istitutodeglinnocenti.it Tel. +39 055 2037320 ICQ# 12516133



Reply via email to