myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Heinen (Created) (JIRA)" <>
Subject [jira] [Created] (MYFACES-3522) collectionType attribute of selectManyCheckbox not processed correctly
Date Tue, 03 Apr 2012 11:42:24 GMT
collectionType attribute of selectManyCheckbox not processed correctly

                 Key: MYFACES-3522
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.1.6
         Environment: Tomcat 6.0.35
myFaces 2.1.6
            Reporter: Michael Heinen
            Priority: Critical

The collectionType attribute of h:selectManyCheckbox is not processed correctly.

The value attribute of selectManyCheckbox points to Map with an ArrayList with Strings as
value, representing the selected values.
The checkboxes are initially correctly checked, but after ajax submission the model (Map<Sting,Object)
contains StringArrays instead of ArrayLists.
This worked well since JSF 1.0, but it does not work with 2.1 anymore.
It can be easily reproduced with MyFaces only.
I see this as critical because ClassCastException are thrown as a result in application code.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message