I have a <h:selectBooleanCheckbox value="#{someBean.prop}">
where prop
is a property of type int
. Is it really not working straight away? Do I have to implement a custom converter to convert Boolean
to int
? Does anyone happen to have converter code for that at stock? I read that there is some bug in JSF 2.0 that prevents converters for <h:selectBooleanCheckbox>
to be processed. Can anyone confirm that?
I use MyFaces 2, Tomahawk and Tomcat 6.
See Question&Answers more detail:os