You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Francesco Consumi <co...@istitutodeglinnocenti.it> on 2005/01/13 12:20:09 UTC

1.0.8: first try, first problem: update

Scrive Francesco Consumi <co...@istitutodeglinnocenti.it>:

>
> 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

I've noticed that the selectOneMenu works well if the underlying variable is a
String instead of an int. Why doesn't work anymore with integers ?



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