Citando Mike Kienenberger <[EMAIL PROTECTED]>:
Short answer: Old behavior was broken. New behavior matches the spec.
Long answer: Read through this thread, probably starting at the
beginning (postings after the one below probably aren't relevent to
your issue):
I tried to replace String with integer in SelectItems. this is the result:
javax.faces.FacesException: Value is no String
(class=java.lang.Integer, value=0) and component dblCliente[0]with
path: {Component-Path : [Class:
javax.faces.component.UIViewRoot,ViewId: /el_interventi.jsp][Class:
org.apache.myfaces.custom.document.Document,Id: _idJsp0][Class:
org.apache.myfaces.custom.document.DocumentBody,Id: _idJsp2][Class:
org.apache.myfaces.custom.layout.HtmlPanelLayout,Id: page][Class:
org.apache.myfaces.component.html.ext.HtmlPanelGrid,Id:
_idJsp6][Class: javax.faces.component.html.HtmlForm,Id:
fmDati1][Class:
org.apache.myfaces.component.html.ext.HtmlDataTable,Id:
_idJsp17][Class: org.apache.myfaces.custom.column.HtmlSimpleColumn,Id:
_idJsp32][Class:
org.apache.myfaces.component.html.ext.HtmlSelectOneMenu,Id:
dblCliente]} does not have a Converter
this is the declaration of tag:
<h:selectOneMenu id="cbCassa" value="#{mb.id_cassa_int}">
<f:selectItems value="#{mb.dblCasse.rows}"/>
</h:selectOneMenu>
--
Francesco Consumi
Ufficio Sistemi informativi
Istituto degli Innocenti
Piazza SS.Annunziata, 12
50122 Firenze
consumi at istitutodeglinnocenti.it
Tel. +39 055 2037320
ICQ# 12516133