The Shale "use cases" example includes a page where an <h:selectManyCheckbox> component is bound to an array of int that represents selected values. A bug was reported against this app:
However, further investigation shows that this case works correctly with the JSF RI, leading to the belief that it represents an implementation error in MyFaces. See the above bug report for more details.
For reference, the page includes the following component:
<h:selectManyCheckbox id="categories" layout="pageDirection"
where the binding expressions point at values of the following types:
points at an array of int representing
the currently selected categories
points at an array of SelectItem,
where the "value" property of each is an Integer representing the
primary key for that category.