The problem is that UISelectBoolean is dependent on its value always being a boolean. The converter is only for use between JSF and HTML, not within JSF. Again, you'll either have to put conversion on your bean, or make a custom component that doesn't depend on a boolean value.
Don't blame MyFaces, this is in the API On Tue, 7 Dec 2004 17:30:49 +0100, Francesco Consumi <[EMAIL PROTECTED]> wrote: > Scrive Heath Borders <[EMAIL PROTECTED]>: > > > I think UISelectBoolean can only use boolean types. > > I know. so, I want to write a converter for giving it a boolean > starting from an > integer..... :-) > > > > You might have to > > do the conversion on your bean. That is, have boolean getters and > > setters that call int getters and setters. > > > I can't. these values are in a ArrayList of maps automatically > generated from a > SQL query. > > -- > > > Francesco Consumi > Ufficio Sistemi informativi > Istituto degli Innocenti > Piazza SS.Annunziata, 12 > 50122 Firenze > consumi at istitutodeglinnocenti.it > Tel. +39 055 2037320 > ICQ# 12516133 > > -- If you don't have a GMail account, I probably have 5 invites. Just ask! -Heath Borders-Wing [EMAIL PROTECTED]

